GitHub user PatBriPerso added a comment to the discussion: Use keycloak as 
OIDC/IdP provider but cannot access to users list

Thanks @fedepad.
 
In fact, I change the role of my user with the superset UI and give him the 
Admin role.
Here is how I do that:
- I start my stack with `OIDC_ENABLE=False` so I can connect with the default 
Admin account (stored in the DB) and I change its password
- I update my stack with `OIDC_ENABLE=True` and connect with a keycloak 
account. A new user was created in superset DB
- I change back to `OIDC_ENABLE=False`, connect with the default Admin account 
and change the role of my keycloak user to Admin
- Finally, I change again to `OIDC_ENABLE=True`, connect with my keycloak 
account and have the access issue (to the users list page)

I have no specific roles for my keycloak user. I think he has the default 
keycloak roles but I do not know if those roles are sent to superset. I think 
roles on keycloak and roles on superset are not related (but I'm not sure).


GitHub link: 
https://github.com/apache/superset/discussions/34659#discussioncomment-14085005

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to