Hi! I’m very new to streamlit, and I’m trying to run a multi page application that requires authentication.
Therefore, whenever an user logs in, he is redirected to the page front.py, and it’s code is as follows
if st.session_state['authentication_satus'] == True:
mainDash()
else:
st.write("Sem permissão para visualizar a dashboard. Faça login.")
In the login page, I’m using the switch_page method to redirect an user. Works fine if I log in.
Problem is, if I reload the page, or even if I type localhost:8501/front strainght from the browser, the app keeps loading endlessly. No error messages, nothing. Just keeps loading.
Is there something I’m missing here?