Google AI Studio GitHub Sign-in Loop – Existing Repository Cannot Sync

Hello Google AI Studio team,

I am experiencing a persistent GitHub authentication/sync issue in Google AI Studio.

Existing repository:
anasvkyp/eenoki-erp-app

Branch:
main

The Google AI Studio GitHub App is correctly installed on my GitHub account, and the repository is explicitly selected with read/write access to code.

Problem:

In the Google AI Studio GitHub panel I repeatedly see:

“Sign in to GitHub to continue”

When I click “Sign in to GitHub to continue”:

  1. GitHub authentication completes successfully.
  2. I return to Google AI Studio.
  3. The AI Studio GitHub panel still shows the same “Sign in to GitHub to continue” screen.

I have already verified:

  • The Google AI Studio GitHub App installation
  • Repository access
  • Read/write code permissions
  • The correct GitHub account
  • The existing repository and main branch
  • GitHub re-authentication
  • Browser refresh / reloading AI Studio

The problem persists after re-authentication.

This is an existing production project. I do not want to create a new repository, create a parallel repository, or replace the existing Git history.

The verified production/GitHub main state is currently:

7cdbe3d

The AI Studio workspace also contains local project history, but the GitHub sync/authentication layer is currently not allowing the existing repository to sync normally.

Could you please investigate whether the GitHub OAuth/session or existing repository binding for this AI Studio workspace is failing?

I can provide screenshots showing:

  1. AI Studio repeatedly showing “Sign in to GitHub to continue”
  2. GitHub App installation and repository permissions
  3. The existing repository and main branch

Thank you.

Hello @Mohammed_Anas ,

Could you please share a screen recording of that via DM?

I’m facing the same issue regarding the connection to GitHub. Was there a solution for the case in question?

Hello @Mohammed_Anas , @Ismael_Silveira ,

Please try the below steps:

  • Uninstall the Google AI Studio app from your installed GitHub Apps on GitHub as described in Reviewing and modifying installed GitHub Apps (uninstalling the app only removes the app installation and does not delete or modify your repository or Git history).
  • Open your project in Google AI Studio while signed in to the Google account that owns the project, and select “Sign in to GitHub to continue” to complete a fresh installation and authorization flow.

We just pushed a fix to production which should fix this, please let us know if it’s still failing.