Skip to content
Snippets Groups Projects
Select Git revision
  • 7c86f00462186935df981e535edcc44077fa0c8e
  • master default protected
  • samesite-lax
  • nd-uwsgi-rewrite
  • timeout
  • v0.2.1
  • v0.2.0
  • v0.1.1
  • v0.1.0
9 results

uffd-nginxauth

  • Clone with SSH
  • Clone with HTTPS
  • Forked from uffd / uffd-nginxauth
    18 commits behind the upstream repository.
    Julian's avatar
    Julian authored
    Add basic unit testing and improve CI config
    
    See merge request uffd/oauth2-proxy!1
    7c86f004
    History

    OAuth2 Proxy for Single-Sign-On with Nginx

    This application implements a generic OAuth2 client for easy integration of NGINX into an OAuth2-based Single-Sign-On system. It is bound to a single OAuth2 server (urls defined in config) and -- apart from a session cookie -- stateless. OAuth2 client id, secret and redirect URI are passed from the integrating NGINX to the proxy in HTTP headers.

    The following data about the authenticated user is returned by the /auth endpoint as HTTP headers:

    • OAUTH-USER-ID: (usually numeric) unique user id
    • OAUTH-USER-NAME: display name
    • OAUTH-USER-NICKNAME: unique user name (for urls, @-handles, ...)
    • OAUTH-USER-EMAIL: email address
    • OAUTH-USER-GROUPS: comma-separated list of group names

    See testapp for an example setup.