Signin Issue

I am having sign-in/sign-up issues with Streamlit.
It shows me this when I try to sign in with Google or GitHub.

I checked network logs; it shows a 401 error.

Hey there, thanks for reaching out and welcome to the Streamlit community! :blush: Sorry you’re running into this “Huh. This isn’t supposed to happen” error with a 401 in your network logs. This is a known sign-in issue that often happens when there’s a mismatch between the email linked to your GitHub account and the one you’re using to log in, or if there are authentication/session problems. Sometimes, it can also be triggered by recent changes to your GitHub or Google account, or if your account has been flagged by automated monitoring.

Here’s what you should do:

  1. Log out of Streamlit Community Cloud completely (from both your email and GitHub accounts).
  2. Log in first with your email (using “Continue with Google” or “Continue with email”).
  3. Then log in with your GitHub account.
    If you still see the error, you’ll need to contact Streamlit support and provide your GitHub username (and a HAR file if requested), as account blocks or false positives may require manual intervention. For step-by-step instructions and support links, see the official docs and FAQ: Login attempt to Streamlit Community Cloud fails with error 403, How to submit a support case for Streamlit Community Cloud, and FAQ: 403 error in Streamlit Community Cloud account.

If you’re comfortable, please share a minimum reproducible example or more details about your sign-in flow, and feel free to post your code or repo if you think it’s relevant. Community members, jump in if you’ve seen this before!

Sources: