security/lua-resty-openidc 1.7.6_1 FreeBSD
OpenID Connect and/or OAuth 2.0 functionality for OpenResty / ngx_lua
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- security
- Package size
- 27.0 KiB, 103.2 KiB installed
Description
OpenID Connect Relying Party (RP) and/or the OAuth 2.0 Resource Server (RS) functionality for OpenResty / ngx_lua
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/lua-resty-openidc | 1.7.6_1 |
| DragonFly | security/lua-resty-openidc | 1.7.6_1 |
Install
Binary package:
pkg install lua-resty-openidc
From the ports tree:
cd /usr/ports/security/lua-resty-openidc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= lua-resty-openidc>0:security/lua-resty-openidc
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.7.6_1 | 1.7.6_1 | - | 1.7.6_1 | 1.7.6_1 |
| FreeBSD:14:quarterly | 1.7.6_1 | 1.7.6_1 | n/a | 1.7.6_1 | 1.7.6_1 |
| FreeBSD:15:latest | 1.7.6_1 | 1.7.6_1 | n/a | 1.7.6_1 | 1.7.6_1 |
| FreeBSD:15:quarterly | 1.7.6_1 | 1.7.6_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.7.6_1 | 1.7.6_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 5
luajit-openresty>=2.1: lang/luajit-openrestylua51-cjson>0: devel/lua-cjson${LOCALBASE}/share/lua/5.1/resty/http.lua: www/lua-resty-http${LOCALBASE}/share/lua/5.1/resty/session.lua: www/lua-resty-session3${LOCALBASE}/share/lua/5.1/resty/jwt.lua: security/lua-resty-jwt
The full lists below include those, and their dependencies in turn.
Run dependencies 9
No port depends on this one.
Configuration
Options name: security_lua-resty-openidc
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| zmartzone-lua-resty-openidc-v1.7.6_GH0.tar.gz | 68949 | f914f1b74b6594be6c2d580a26d1c1eaba5c120f2bebd114ad1983bc58141dc0 |
Commit history 0
No commits in the history this site was built from.