Keycloak authentication issue #3718
Replies: 7 comments
-
|
If you haven't already, try to specify valid redirect URIs in your Keycloak client and put |
Beta Was this translation helpful? Give feedback.
-
|
+1 on this issue, I have a similar issue but without invalid redirect uri. |
Beta Was this translation helpful? Give feedback.
-
|
Make sure you enable self registration. |
Beta Was this translation helpful? Give feedback.
-
|
You have to set root URL and valid redirection URI's in keycloak. Set the root url to the path to your wiki and add |
Beta Was this translation helpful? Give feedback.
-
|
Enabling self registration fixed it for me, however, do you know if we can map keycloak roles to wiki.js roles ? |
Beta Was this translation helpful? Give feedback.
-
No this is not possible, and exactly the reason, why we switched over to xwiki. |
Beta Was this translation helpful? Give feedback.
-
|
I had a similar issue. Tried all above solutions, neither worked. In my case the existing uuid references of the keycloak users were not correctly stored in the wikijs database. I updated the existing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When using Keycloak authentication (openid-connect), after successful authentication, the redirect fails with a message "You are not authorized to login."
Keycloak logs shows: error=invalid_redirect_uri, redirect_uri=https://{mydomain}/login/keycloak/callback
Wiki.js is trying to get to
https://{mydomain}/login/keycloak/callback?session_state=ee0b97f4-4c59-....-0c68557f668b
What I'm doing wrong? Please help.
Beta Was this translation helpful? Give feedback.
All reactions