Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@3846masa/nginx-passport-adapter

logo

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.

Table of Contents

Install

# WIP

Usage

# WIP

Environment variables

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

Discord

ENV
NGX_PASSPORT_DISCORD_CLIENT_ID
NGX_PASSPORT_DISCORD_CLIENT_SECRET
NGX_PASSPORT_DISCORD_GUILD_ID

Slack

ENV
NGX_PASSPORT_SLACK_CLIENT_ID
NGX_PASSPORT_SLACK_CLIENT_SECRET
NGX_PASSPORT_SLACK_TEAM_ID

Contribute

PRs accepted.

License

MIT © 3846masa

About

Authentication system for nginx auth_request using passport.

Resources

License

Releases

No releases published

Packages

No packages published