zmartzone/lua-resty-openidc
OpenID Connect Relying Party and OAuth 2.0 Resource Server implementation in Lua for NGINX / OpenResty observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 90
- Release rhythm 59
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 655
- age_days: 4068
- days_rel: 63
- days_push: 63
- n_releases_24m: 2
Adoption not part of the score
1073 stars · 254 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Lua library for NGINX/OpenResty implementing an OpenID Connect Relying Party and OAuth 2.0 Resource Server. It authenticates users via OpenID Connect Discovery and validates OAuth 2.0 bearer tokens, enabling reverse proxies to protect origin services without native auth support.
Use cases
- add OpenID Connect login to an NGINX reverse proxy
- protect backend APIs with OAuth 2.0 bearer token validation
- validate JWT access tokens at the gateway
- terminate authentication in front of legacy origin servers
- introspect opaque access tokens against an authorization server
- manage authenticated user sessions in cookies, redis, or memcache
When to choose
- you run NGINX or OpenResty and need standards-based OIDC/OAuth2 at the proxy layer
- your origin servers cannot implement OpenID Connect themselves
- you need OpenID certified Relying Party behavior with discovery and code flow
- you want flexible session storage (cookie, shared memory, memcache, redis)
When to avoid
- you are not using NGINX/OpenResty as your gateway
- you need a full identity provider rather than a relying party/resource server
- you prefer application-level auth handled inside your app framework
- you need OAuth flows beyond the authorization code and bearer token use cases
Facets
library · maturity stable
auth authorization middleware http-server security web-development apis backend lua openid-connect oauth2 jwt reverse-proxy nginx-lua session-management identity nginx openresty linux
1 source
- readme: https://github.com/zmartzone/lua-resty-openidc · fetched 2026-08-28 · c37d6cbc19c1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zmartzone/lua-resty-openidc | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="zmartzone/lua-resty-openidc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem