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

error while creating account #37

Closed
mmikee02 opened this issue Aug 10, 2023 · 2 comments
Closed

error while creating account #37

mmikee02 opened this issue Aug 10, 2023 · 2 comments
Assignees
Labels
question Further information is requested Stale

Comments

@mmikee02
Copy link

Hello,
I try to install the ha google photo plugin,
I followed the github procedure, I created a client with id and secret code, activated api, ...
all was fine until the oauth screen : when I click on my google account and accept the conditions, I receive this screen :

[https://www.googleapis.com/auth/userinfo.email&authuser=0&prompt=consent]

**

You are receiving this error either because your input OAuth2 scope name is invalid or it refers to a newer scope that is outside the domain of this legacy API.

This API was built at a time when the scope name format was not yet standardized. This is no longer the case and all valid scope names (both old and new) are catalogued at https://developers.google.com/identity/protocols/oauth2/scopes. Use that webpage to lookup (manually) the scope name associated with the API you are trying to call and use it to craft your OAuth2 request.

**

Version of the custom_component

latest

Can someone tell me what I did wrong?
Thanks in advance,
-->Michaël

@Daanoz
Copy link
Owner

Daanoz commented Aug 16, 2023

It can be a bit tricky to debug these, could you verify that your setup looks like:

OAuth consent screen setup
OAuth consent screen setup
OAuth consent screen edit, step1
OAuth consent screen edit, step1
OAuth consent screen edit, step2
OAuth consent screen edit, step2
OAuth consent screen edit, step3
OAuth consent screen edit, step3
OAuth consent screen edit, step4
OAuth consent screen edit, step4
Credentials
Credentials

@Daanoz Daanoz self-assigned this Aug 16, 2023
@Daanoz Daanoz added help wanted Extra attention is needed question Further information is requested and removed help wanted Extra attention is needed labels Aug 16, 2023
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Sep 16, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

2 participants