Bug Report: Google AI Studio GitHub OAuth succeeds but connection never completes
Summary
Google AI Studio cannot complete the GitHub connection even though GitHub OAuth authorization succeeds successfully.
After authorizing GitHub, I am redirected to:
aistudio.google.com/auth/github/redirect?status=success
The page says that I am being redirected to Google AI Studio and provides a “this setup page” link. However, after following the setup page, Google AI Studio still shows:
“Sign in to GitHub to continue”
The GitHub connection is therefore stuck in a loop.
Steps to reproduce
- Open Google AI Studio.
- Open a project and go to the GitHub panel.
- Click Sign in to GitHub to continue.
- GitHub opens and asks to authorize/install the Google AI Studio GitHub App.
- Install/authorize the app.
- Set repository access to All repositories.
- Complete the GitHub authorization.
- GitHub redirects to Google AI Studio with:
aistudio.google.com/auth/github/redirect?status=success
- The page says:
You are being redirected to Google AI Studio to continue installation.
- If the automatic redirect does not happen, click the provided “this setup page” link.
- Google AI Studio opens again, but the GitHub panel still says:
“Sign in to GitHub to continue”
Troubleshooting already performed
I have already tried:
- Revoking/removing the GitHub authorization
- Uninstalling and reinstalling the Google AI Studio GitHub App
- Restarting Chrome
- Hard refresh with Ctrl+F5
- Checking JavaScript — enabled
- Checking third-party cookies — allowed
- Allowing pop-ups and redirects for:
https://aistudio.google.comhttps://github.com
- GitHub App repository access set to All repositories
- Repeating the complete GitHub authorization flow
The problem remains unchanged.
Important observation
GitHub authorization itself appears to succeed.
The OAuth callback explicitly returns:
status=success
However, Google AI Studio does not recognize the successful GitHub authorization afterward and continues showing “Sign in to GitHub to continue.”
This appears to be an OAuth/session state persistence or backend integration issue rather than a GitHub permission or browser configuration issue.
Expected behavior
After successful GitHub authorization, Google AI Studio should recognize the GitHub connection and allow me to select or create a repository for GitHub Sync.
Actual behavior
GitHub authorization succeeds, but Google AI Studio remains stuck on:
“Sign in to GitHub to continue”
The authorization flow can be repeated indefinitely without completing the connection.
Environment
- Google AI Studio
- Google Chrome
- Windows PC
- GitHub personal account
- Google AI Studio GitHub App installed
- Repository access: All repositories
Please investigate the GitHub OAuth/session state on the Google AI Studio side. It appears that the OAuth callback succeeds but the resulting GitHub connection is not being persisted or recognized by AI Studio.