After logging in, if the user reloads page when on http://localhost:8501/, they have to log in again.
I think this is because the Authenticate function in main.py takes a while, while the auth check that happens afterwards occurs before the variable is initialized.
Describe the bug
After logging in, if the user reloads page when on http://localhost:8501/, they have to log in again.
I think this is because the Authenticate function in
main.py
takes a while, while the auth check that happens afterwards occurs before the variable is initialized.Steps to reproduce bug