You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It seems that when you have configured single app forward auth, to use Intercept header authentication, and the header is either missing or invalid, it just shows an 401.
To Reproduce
Steps to reproduce the behavior:
Create a new single forward auth app
Use ingress-nginx and configure the app to be secured
Try to browse to the app url
See the 401 instead of normal login page
Expected behavior
I would have expected it to behave like documented which is when Intercept header authentication is enabled, authentik will intercept the authorization header. If the authorization header value is invalid, an error response will be shown with a 401 status code. Requests without an authorization header will still be redirected to the standard login flow.
I would have expected it to behave more like Authelia where it would also show an password prompt if it's asking for basic auth.
Version and Deployment (please complete the following information):
samip5
changed the title
Forward-Auth with Basic-Auth not behaving like documented
Forward-Auth with Intercept header authentication not behaving like documented
Jan 5, 2025
Describe the bug
It seems that when you have configured single app forward auth, to use Intercept header authentication, and the header is either missing or invalid, it just shows an 401.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would have expected it to behave like documented which is
when Intercept header authentication is enabled, authentik will intercept the authorization header. If the authorization header value is invalid, an error response will be shown with a 401 status code. Requests without an authorization header will still be redirected to the standard login flow.
I would have expected it to behave more like Authelia where it would also show an password prompt if it's asking for basic auth.
Version and Deployment (please complete the following information):
Additional context
The ingress manifest used:
The text was updated successfully, but these errors were encountered: