Streamlit keycloak integration - Auth fails all the time

I am using GitHub - bleumink/streamlit-keycloak: User authentication and single sign-on in your Streamlit app using Keycloak for providing auth to my streamlit app.

I have provided all the details like realm, client_id, keycloak url etc.
When I click “sign-in”, the pop-up comes and I enter my details. However, after authentication, it always fails. The “authenticated” flag is always False. And all other fields like user_info, access_token etc. are set to Null.

Whereas, this works for another colleague (for the same app)

What could be wrong? Any pointers most appreciated. Thanks!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.