-
I'm using Keycloak together with mod_auth_openidc and would like to secure some dashboards by having a different claim for
In my virtual host I have a locationmatch directive which looks as follows.
When performing the configtest I get
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick answer.
Instead of having to set a fixed location like |
Beta Was this translation helpful? Give feedback.
-
the (fixed) redirect URI is only used in the OIDC flow, after authentication the user will be redirected to the location that the user initially tried to access |
Beta Was this translation helpful? Give feedback.
-
That's strange. That is not what I see appearing.
and visit It redirects me to the keycloak login.
After being redirected to keycloak and providing the login, it redirects to
Instead of redirecting to |
Beta Was this translation helpful? Give feedback.
OIDCRedirectURI
can only be specified at the server/vhost level and there's no need to do otherwise; you can achieve what you want only by usingRequire claim <>
directives in the appropriate location.