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

Failed to add Google Drive integration #137511

Closed
dxtich opened this issue Feb 6, 2025 · 8 comments
Closed

Failed to add Google Drive integration #137511

dxtich opened this issue Feb 6, 2025 · 8 comments

Comments

@dxtich
Copy link

dxtich commented Feb 6, 2025

The problem

After adding oAuth credentials and choosing an account to use got the error:
"Access blocked: home-assistant.io has not completed the Google verification process"

What version of Home Assistant Core has the issue?

core-2025.2.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google Drive

Link to integration documentation on our website

https://www.home-assistant.io/integrations/google_drive

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Feb 6, 2025

Hey there @tronikos, mind taking a look at this issue as it has been labeled with an integration (google_drive) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of google_drive can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign google_drive Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


google_drive documentation
google_drive source
(message by IssueLinks)

@mija87
Copy link

mija87 commented Feb 6, 2025

Same issue..

@mitzu2250
Copy link

mitzu2250 commented Feb 6, 2025

Did you added https://my.home-assistant.io/redirect/oauth under Authorized redirect URIs when creating the OAuth client ID?

Had the same issue, this fixed for me.

PS. You'll need to restart HA to have Google Drive option in the backup location page.

@enricobattocchi
Copy link

I added https://my.home-assistant.io/redirect/oauth but still I get the error when trying to connect:
Image

@tronikos
Copy link
Member

tronikos commented Feb 7, 2025

@enricobattocchi
Copy link

Thanks @tronikos, it worked! Maybe it should be added to the docs?

@mitzu2250
Copy link

On one of my installation it worked without adding a Test user.

Just followed the steps from "Scenario 2: You do not have credentials set up yet" and worked without issues.

@P3TACCO
Copy link

P3TACCO commented Feb 7, 2025

Thanks I discovered the error - did not "publish"...

Missed
10. Select OAuth consent screen again and under Publishing status, select Publish app.
Otherwise your credentials will expire every 7 days.
11. Make sure Publishing status is set to In production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants