Authentication system for nginx auth_request using passport.
1.0K

Icon made by Roundicons from https://www.flaticon.com/ is licensed by CC 3.0 BY
Authentication system for nginx auth_request using passport.
Use passport for your nginx's authentication via ngx_http_auth_request_module.
Inspired by sorah/nginx_omniauth_adapter.
# WIP
# WIP
See .env.sample
| ENV | Example |
|---|---|
| PORT | 3000 |
| NGX_PASSPORT_SECRET_KEY | $ openssl rand -base64 32 |
| NGX_PASSPORT_HOST_URL | https://auth.example.com |
| NGX_PASSPORT_APP_REFRESH_INTERVAL | 86400 |
| NGX_PASSPORT_ADAPTER_REFRESH_INTERVAL | 604800 |
| NGX_PASSPORT_DEFAULT_PROVIDER | slack |
| ENV |
|---|
| NGX_PASSPORT_DISCORD_CLIENT_ID |
| NGX_PASSPORT_DISCORD_CLIENT_SECRET |
| NGX_PASSPORT_DISCORD_GUILD_ID |
| ENV |
|---|
| NGX_PASSPORT_SLACK_CLIENT_ID |
| NGX_PASSPORT_SLACK_CLIENT_SECRET |
| NGX_PASSPORT_SLACK_TEAM_ID |
PRs accepted.
Content type
Image
Digest
Size
24.7 MB
Last updated
over 8 years ago
docker pull 3846masa/nginx-passport-adapter