Authenticate with google Oauth 2.0 did not match a registered redirect URI

℡╲_俬逩灬. 提交于 2020-01-01 07:30:46

问题


I'm trying to authenticate with using Google OAuth 2.0, I registered my url in the Google's Cloud Console.

In the specs of google's OAuth 2.0 it says: redirect_uri: Determines where the response is sent. The value of this parameter must exactly match one of the values registered in the Google Cloud Console (including the http or https scheme, case, and trailing '/').

But in the cloud console I can't put the "http", it allows me only the domain name. The only information I guessed was the Notification Endpoint, the redirect_uri is missing. I searched the app console as well. Does anyone has a hint on where I should specify the redirect_uri?


回答1:


Go to: https://cloud.google.com/console And you'll see the following screen. You can enter fully formed URIs as you can see in the example



来源:https://stackoverflow.com/questions/20732266/authenticate-with-google-oauth-2-0-did-not-match-a-registered-redirect-uri

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!