-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Getting Keycloak roles to bookstack #5447
Comments
Hi @ZimneJonas,
|
Thank you for the quick response, This part from the post is the return of the OIDC_DUMP_USER_DETAILS:
sorry, for the confusing format, .env looks like this:
It looks like that because I originally used a helm template to create it. But I tested by configuring the k8s pod. Changing other options like OIDC_DISPLAY_NAME_CLAIMS works well. |
Thanks @ZimneJonas, So ultimately Keycloak is not providing role/group data for BookStack to use. I'd advise reviewing the settings on Keycloak, to ensure there's no missed settings allowing this data to be part of OIDC responses. |
Describe the Bug
Configuring .env works as descibed https://www.bookstackapp.com/docs/admin/oidc-auth/
But adding:
does nothing
It stil returns no groups/roles
Probably user error by me, but I am lost, and thankful for any help.
Steps to Reproduce
Expected Behaviour
Seeing the roles given in the token, or at least an error.
Screenshots or Additional Context
OIDC_GROUPS_CLAIM: roles/groups
OIDC_ADDITIONAL_SCOPES: roles/groups
also didn't work
Browser Details
No response
Exact BookStack Version
24.10.3 & 21.12.4
The text was updated successfully, but these errors were encountered: