-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
question: Not redirected back to the app from keycloak #367
Comments
@theodotos , I suggest checking the redirect url in keycloak server. |
@theodotos , also, I think you misunderstand how plugins work. the following is invalid authorize with mypolicy please see the issue pinned to the “Issues”. It has working config, where route directive is being used. ` |
Yes it seems I have misunderstood some things. I removed the
Now i get redirected to the auth site of keycloak but I am not redirected back after successful authentication. |
Thank you @greenpau, we managed to get it working with a config similar to the one I posted on #368 (comment) We only had to tweak the Keycloak config to drop the key using the |
Not redirected back to the app from keycloak
We already have a working keycloak setup.
The problem is when we are redirected to keycloak.example.com we are not prompted for login and we are not redirected back to app.example.org. Instead we get a json response from Keycloak:
The configuration is:
Configuration
Version Information
I use authcrunch v1.0.11 on Linux AMD64.
Here's a list of modules:
Expected behavior
I expect to be prompted for login on nextcloud and be redirected back after the successful login.
I read this guide:
https://docs.authcrunch.com/docs/authenticate/oauth/backend-oauth2-0011-keycloak
and based my configuration on this example:
https://github.com/greenpau/caddy-auth-docs/blob/main/assets/conf/oauth/keycloak/Caddyfile
Any idea what I am doing wrong?
The text was updated successfully, but these errors were encountered: