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

http 400 #5

Open
harrypotter06 opened this issue Aug 10, 2019 · 1 comment
Open

http 400 #5

harrypotter06 opened this issue Aug 10, 2019 · 1 comment

Comments

@harrypotter06
Copy link

Hello,

this my .json, but i get a 400 error on OAuth side.

{"web":{"client_id":"my-ClientID","project_id":"eus-hausnotruf","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"my_secret","redirect_uris":["https://eus-hausnotruf.firebaseapp.com/__/auth/handler","https://eus-hausnotruf.web.app/__/auth/handler"],"javascript_origins":["http://localhost","http://localhost:5000","https://eus-hausnotruf.firebaseapp.com","https://eus-hausnotruf.web.app"]}}

This error i got:

Error: redirect_uri_mismatch
The redirect URI in the request, http://localhost:50706/authorize/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/ …….

What is the issue? "localhost" is allowed

@alexrozman
Copy link

I ran into this issue and worked around it by getting a different JSON from Device Registration.

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

No branches or pull requests

2 participants