-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for nginx http_auth_request_module #75
Comments
Ok, so you'd expect a 401/403 (probably 403) on the specific endpoint that checks for the permissioning? |
This would be amazing, in general docs on how to use oathkeeper + keto or similar as an IAP to front a web NGINX would be great I think the error is 401, https://httpstatuses.com/401.
according to https://httpstatuses.com/403 |
Yes, 403 indicates valid authentication credentials but insufficient access rights. This is exactly the case here - Keto does not check authentication credentials for validity. |
This is more in scope of oathkeeper right? I felt it was worth commenting here as there was a similar ticket in this project. |
Closes #75 Signed-off-by: aeneasr <[email protected]>
Closes #75 Signed-off-by: aeneasr <[email protected]>
Describe the solution you'd like
https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/
nginx can authenticate each request to your website with an external server or service. To perform authentication, NGINX makes an HTTP subrequest to an external server where the subrequest is verified. If the subrequest returns a 2xx response code, the access is allowed, if it returns 401 or 403, the access is denied. Such type of authentication allows implementing various authentication schemes, such as multifactor authentication, or allows implementing LDAP or OAuth authentication.
The text was updated successfully, but these errors were encountered: