streamlit-keycloak icon indicating copy to clipboard operation
streamlit-keycloak copied to clipboard

How to get a user's roles ?

Open abnerjacobsen opened this issue 1 year ago • 6 comments

First of all, congratulations on your project, it works very well.

Now a question: I was able to install streamlit-keycloack and authenticate a user in my app on Streamlit Cloud using the Keycloack server that I configured, including obtaining the list of groups to which the user belongs. There's only one thing I don't know how to do, which is to get the list of user roles. Do you have any tips on how I can do this?

abnerjacobsen avatar Mar 05 '23 16:03 abnerjacobsen