firebase / quickstart-js

Firebase Quickstart Samples for Web

Home Page:https://firebase.google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authorization Error

omniin opened this issue · comments

Authorization Error
Error 400: redirect_uri_mismatch
The redirect URI in the request, /__/auth/handler, 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/${your_client_id}?project=${your_project_number}

Are you passing the URI callback as a parameter? Make sure it is url-encoded and there is no typo errors. Also, if you could provide more context here, it would be great .

As Google's server receives user permission, it will redirect the browser to whatever you defined as the redirect uri. It will include the token as a parameter in that request, allowing your callback page to validate the token, obtain an entry token, and proceed to the rest of your app.

Mr ayamanxdev!!
Can you give me time? I want to talk to you .