Keycloak Integration HELP #31805
Replies: 1 comment 20 replies
-
Hey @sule26, I'm here to help you with your Keycloak integration issue. Let's work together to resolve this! The error message "User object does not have roles" typically indicates that the roles are not being correctly mapped or included in the user token from Keycloak. Here are a few steps you can take to resolve this issue:
By following these steps, you should be able to resolve the issue with role assignment during Keycloak integration. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I’ve been trying for a few days to enable login via Keycloak and assign roles to users through Keycloak, but I haven’t been able to make it work. I’ve tried several approaches, but I keep running into errors.
The most common error I encounter is:
User object does not have roles
.Does anyone know how I can resolve this or what might be causing the issue?
Beta Was this translation helpful? Give feedback.
All reactions