Keycloak provider #283
Unanswered
carlroeber98
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am using an external provider keycloak and I am trying to authenticate my request to a specific path.
So for example my frontend needs to be secured. Traefik redirects to it under the path /frontend (PathPrefix(
/frontend
) and I have added the labels for the forward-auth according to the documentation. The redirection to the provider is working fine but then I am getting redirected to that URL_PATH (_oauth?sessionState...,redirectURL=myhost/frontend).Which basically means my path is getting changed from /frontend to /oauth and I am not sure what to do about it ?
Where does this URL_PATH needs to redirect to ? And how do I handle step 4. Token, user and CSRF cookie is validated (this request in intercepted and is never passed to your application) ?
Also worth mentioning is that I am not using the forward-auth container as entrypoint. Can this be an issue ?
If more information about my setup is required let me know.
I would really appreciate an answer since I am not too deep into that topic.
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions