Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button incorrectly says "Logout" when there is no login_token #36

Open
andreas-bergstrom opened this issue Feb 19, 2024 · 1 comment
Open

Comments

@andreas-bergstrom
Copy link

andreas-bergstrom commented Feb 19, 2024

The code below sometimes generate the visual in the screenshot. It seems the internal state in the React component is sometimes out-of-sync?

login_token = app_msal()

if not login_token:
    st.write("Please login")
Screenshot 2024-02-19 at 15 55 48
@mikenac
Copy link

mikenac commented Oct 18, 2024

I see this issue as well. So far, logging out has been the only fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants