Issue with Streamlit Auth0 Integration - Blank Page on Login

Hello everyone,

I am currently facing an issue with testing the new st.login feature, that uses Auth0 for authentication. When I attempt to log in, the page turns blank and the URL changes to http://localhost:8501/auth/login?provider=XXX.

  1. Are you running your app locally or is it deployed? -->> local
  2. Share the full text of the error message (not a screenshot). -->> No error Message
  3. Share the Streamlit and Python versions. Python 3.13, Streamlit 1.42

My secrets.toml looks like this:

[auth]
redirect_uri =          "http://localhost:8501/oauth2callback"
cookie_secret =         "XXX"

[auth.auth0]
client_id =             "XXX"
client_secret =         "XXX"
server_metadata_url =   "dev-XXX.us.auth0.com/.well-known/openid-configuration"
client_kwargs =         { "prompt" = "login" }

I trigger it with

if st.button("Login"):
    st.login("auth0")

Edit: The downloadable Flask Test Server from auth0 itself works fine. Can use Email and Passwort database and Google Auth.
But the Use with Streamlit didnt work. I get only a Blank site when i Trigger the st.login() Function and didnt know what do I Wrong.

Edit2: Ok found out, when I use only

[auth]
redirect_uri =          "http://localhost:8501/oauth2callback"
cookie_secret =         "XXX"
client_id =             "XXX"
client_secret =         "XXX"
server_metadata_url =   "https://dev-XXX.eu.auth0.com/.well-known/openid-configuration"
client_kwargs =         { "prompt" = "login" }

without the [auth.auth0] Part then it works