Manage your GitHub connection
If you did not connect GitHub when you created your account or need to correct your GitHub authorization, this page is for you! If you just need to add an organization to your account, skip ahead to Authorizing with an organization.
If you are not fully logged in and authorized to both a primary identity (Google or email) and source control (GitHub), there will be a warning symbol in the upper-right corner of your workspace. This can mean one of three things:
- You are not signed in to a primary identity (Google or email).
- You are not signed in to source control (GitHub.)
- Your source control has incomplete permissions.
- Access your workspace settings see Authorize Streamlit to access private repositories.
Connecting GitHub to an existing primary identity
If you created your account without connecting GitHub or if you disconnected GitHub from your account, you can reconnect.
- Click "Settings" in the upper-right corner of your workspace.
- If you do not have GitHub connected, a warning is displayed saying, "You are not signed in with a source control account".
If instead you see "Streamlit does not have access to private repos on this GitHub account" skip to step 5. 3. Click "Sign in with GitHub".
- Click "Authorize streamlit".
Authorize Streamlit to access private repositories
-
After completing the first authorization, your workspace settings will still have a warning, "Streamlit does not have access to private repos on this GitHub account".
-
Click "Allow access".
- Click "Authorize streamlit".
GitHub is now connected to your account! 🥳
Authorizing with an organization
If you are in an organization, you can grant or request access to that organization when you connect your GitHub account. Read more about Organization access.
If your GitHub account is already connected, you can remove permissions in your GitHub settings and force Streamlit to reprompt for GitHub authorization the next time you sign into Streamlit Community Cloud.
Revoke and reauthorize
- From your workspace, click on your workspace name in the upper-right corner. Click "Sign out" to sign out of Streamlit Community Cloud.
- Go to your GitHub application settings at github.com/settings/applications.
- Click on the three dots to open the overflow menu for "Streamlit" and click "Revoke".
- Click "I understand, revoke access".
- Return to share.streamlit.io and sign in. You will be prompted to authorize GitHub as explained in Connect GitHub.
Granting previously denied access
If an organization owner has restricted Streamlit's access or restricted all OAuth applications, they may need to directly modify their permissions in GitHub. If an organization has restricted Streamlit's access, a red "X" will appear next to the organization when you are prompted to authorize with your GitHub account.
See GitHub's documentation on OAuth apps and organizations.
Still have questions?
Our forums are full of helpful information and Streamlit experts.