Azure SSO and RBAC and Helm #290
-
Im trying this configuration for RBAC and Azure but its not working , I can login with admin role but cant see my cluster in the UI. Is this the right way ?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 29 replies
-
Hi, yes, your config looks valid. The issue might be that the field you're looking for (roles) is either missing in your token or is empty. You can debug this like that:
Let me know how it goes. |
Beta Was this translation helpful? Give feedback.
-
nothing new comes up in the logs :( after this change |
Beta Was this translation helpful? Give feedback.
-
Based on logs from #290 (reply in thread): "Principal name" in log is the value of the field This obviously doesn't work, as your email is not equal to your name. I suggest either changing Please consider sponsoring our activities (link) if you appreciate the provided support. |
Beta Was this translation helpful? Give feedback.
@dimashenkov
Based on logs from #290 (reply in thread):
"Principal name" in log is the value of the field
user-name-attribute
. We use that value to match the subjects in RBAC.This obviously doesn't work, as your email is not equal to your name.
I suggest either changing
user-name-attribute
to email field or specifying the username instead of email in RBAC config.Please consider sponsoring our activities (link) if you appreciate the provided support.