Authentication backend to use in conjunction with Nginx
It is a simple Sinatra application that authenticates user via Google's OpenID endpoint using Omniauth. Whenever a request comes in, it checks whether the user's email is whitelisted and if so, instructs Nginx to serve the request.
Read this blog post for more information.
Update the config.yml with your settings.
Secret for the cookie
Domain for the cookie. You may want to set a wildcard domain.
Protocol used for authentication app, http or https
Domain where this authentication app will run
List of email domains for which access is granted. Can be used in combination with or separate to allowed_email
List of specific email addresses to which access is granted. Can be used in combination with or separate to allowed_email_domains
Key-value that maps a public hostname to an internal location Nginx will serve
Check the example Nginx config this application expects.