lua-resty-openidc

A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality

$ luarocks install lua-resty-openidc

lua-resty-openidc is a library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality.

When used as an OpenID Connect Relying Party it authenticates users against an OpenID Connect Provider using OpenID Connect Discovery and the Basic Client Profile (i.e. the Authorization Code flow). When used as an OAuth 2.0 Resource Server it can validate OAuth 2.0 Bearer Access Tokens against an Authorization Server or, in case a JSON Web Token is used for an Access Token, verification can happen against a pre-configured secret/key .

It maintains sessions for authenticated users by leveraging lua-resty-session thus offering a configurable choice between storing the session state in a client-side browser cookie or use in of the server-side storage mechanisms shared-memory|memcache|redis.

It supports server-wide caching of resolved Discovery documents and validated Access Tokens.

It can be used as a reverse proxy terminating OAuth/OpenID Connect in front of an origin server so that the origin server/services can be protected with the relevant standards without implementing those on the server itself.

Versions

1.7.2-1190 days ago27,406 downloads
1.7.1-1339 days ago14,382 downloads
1.7.0-21 year ago8,123 downloads
1.6.1-11 year ago11,327 downloads
1.6.0-11 year ago50,136 downloads
1.5.4-11 year ago2,054 downloads
1.5.3-11 year ago9,590 downloads
1.5.2-12 years ago1,707 downloads
1.5.1-12 years ago505 downloads
1.5.0-12 years ago99 downloads
1.4.1-12 years ago1,060 downloads
1.4.0-12 years ago8,182 downloads
1.3.2-12 years ago1,783 downloads
1.3.1-12 years ago1,451 downloads
1.3.0-22 years ago1,789 downloads
1.2.3-13 years ago1,768 downloads
1.2.1-13 years ago260 downloads
1.2.0-13 years ago99 downloads

Dependencies

lua >= 5.1
lua-resty-jwt >= 0.2.0

Dependency for

Apache APISIX, kong-enhanced-oidc, kong-oidc, kong-oidc, kong-oidc, kong-oidc-adfs, kong-oidc-ws-rbac, lua-resty-keycloak, lzq-kong-oidc

Labels

Manifests