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

Signing in issue - Error: The authentication flow did not complete successfully, and Cloud Code for VS Code is not authorized to access your account. #867

Closed
gpwalczak opened this issue Nov 23, 2023 · 5 comments
Labels
area/accounts question Further information is requested

Comments

@gpwalczak
Copy link

Error: The authentication flow did not complete successfully, and Cloud Code for VS Code is not authorized to access your account.

I am failing to Sign in to Cloud Code and docs do not provide further insights beside the error message above. Does it mean the org admin disabled the access for this app for my account? How should I progress with troubleshooting to unblock from this?

Note I have added "https://accounts.google.com" to trusted domains.

@glouischandra
Copy link
Collaborator

Hi @gpwalczak we're currently working on rolling a fix to common authentication issue in Cloud Code, build should be live sometime next week (2.2.0).

The error above usually means something to do with admin access or an issue fetching the exchange token from google auth server. If you still run into the issue again, please file a feedback using the in product feedback button:
image

And also please ensure "Send Cloud Code logs" is checked
image

@j-windsor j-windsor added question Further information is requested area/accounts labels Dec 7, 2023
@darkthecross
Copy link

Please please please get this fixed soon. Your fellow googler just unsubscribed from copilot to try out Duet AI.

Environment: chromebook, installed vscode as a linux app.

@glouischandra
Copy link
Collaborator

Hi @darkthecross can you help us identify the specifics in the Cloud Code logs above? You can use the in IDE "Report a Bug / Request a Feature" form to send the logs. Thanks!

@glouischandra
Copy link
Collaborator

Looks like this can be caused by authentication service in GCP having transient issue. If you see consistent failure please follow the above steps to send us detailed logs.

@glouischandra
Copy link
Collaborator

This issue should be fixed in the latest version of Gemini CodeAssist extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/accounts question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants