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.4-1171 days ago42,285 downloads
1.7.3-1239 days ago19,393 downloads
1.7.2-11 year ago200,694 downloads
1.7.1-12 years ago18,931 downloads
1.7.0-22 years ago8,413 downloads
1.6.1-12 years ago18,214 downloads
1.6.0-12 years ago105,302 downloads
1.5.4-13 years ago2,069 downloads
1.5.3-13 years ago9,624 downloads
1.5.2-13 years ago1,718 downloads
1.5.1-13 years ago515 downloads
1.5.0-13 years ago107 downloads
1.4.1-13 years ago1,072 downloads
1.4.0-13 years ago8,576 downloads
1.3.2-13 years ago1,792 downloads
1.3.1-14 years ago1,545 downloads
1.3.0-24 years ago1,798 downloads
1.2.3-14 years ago2,062 downloads
1.2.1-14 years ago266 downloads
1.2.0-14 years ago109 downloads

Dependencies

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

Dependency for

Apache APISIX, comvita-kong-oidc, kong-enhanced-oidc, kong-o2b-ticketing, kong-oidc, kong-oidc, kong-oidc, kong-oidc, kong-oidc-adfs, kong-oidc-auth, kong-oidc-forward-host, kong-oidc-google-groups, kong-oidc-ng, kong-oidc-test, kong-oidc-v2, kong-oidc-ws-rbac, kong-plugin-jwt-verifier, kong-plugin-oauth2-audience, lua-resty-keycloak, lzq-kong-oidc, magic-apigw, nx-kong-oidc

Labels

Manifests