Add /auth endpoint to support Nginx's auth_request

Closes #152.
This commit is contained in:
Mike Bland
2015-11-09 10:31:41 -05:00
parent e6e2dbe459
commit e61fc9e7a6
3 changed files with 75 additions and 0 deletions
+1
View File
@@ -249,6 +249,7 @@ OAuth2 Proxy responds directly to the following endpoints. All other endpoints w
* /oauth2/sign_in - the login page, which also doubles as a sign out page (it clears cookies)
* /oauth2/start - a URL that will redirect to start the OAuth cycle
* /oauth2/callback - the URL used at the end of the OAuth cycle. The oauth app will be configured with this as the callback url.
* /oauth2/auth - only returns a 202 Accepted response or a 401 Unauthorized response; for use with the [Nginx `auth_request` directive](http://nginx.org/en/docs/http/ngx_http_auth_request_module.html)
## Logging Format