Need assistance. Deploy Streamlit app locally, Windows 11 24H2
Python: 3.13.10
Streamlit: 1.52.1
I have the basic code to reproduce error:
import streamlit as st
App Layout
print(“Starting app.py”)
st.title(“Login test”)
user = st.login(provider=“default”)
#st.button(“Login with Google”, on_click=st.login)
I have .streamlit/secrets.toml file:
[auth]
redirect_uri = “http://localhost:8501/oauth2callback”
cookie_secret = “value”
client_id = “value”
client_secret = “value”
server_metadata_url = “https://accounts.google.com/.well-known/openid-configuration”
When I start app via command: “streamlit run app.py”, I receive page with error message:
400: ‘NoneType’ object does not support item assignment
Can anyone advise why does it happen?
Thank you