【发布时间】:2019-09-19 15:26:02
【问题描述】:
我有一个使用 google 身份验证的 webapp。当我点击登录时,它得到以下错误:
The redirect URI in the request, http://campus-study-2019.appspot.com/oauth2callback, 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/477760217336-q6bdhcdqvsrf56kaa7k0ifennf775lug.apps.googleusercontent.com?project=477760217336
当我尝试添加
http://campus-study-2019.appspot-preview.com/oauth2callback 到我在 Google Cloud 平台中的授权重定向 URI。我得到以下信息:
Invalid Redirect: You are using a sensitive scope. URI must use https:// as the scheme.
有人知道吗?
但是,以前(1-2 个月前)我可以轻松地将 http 添加到授权重定向 URI 列表中
【问题讨论】:
-
我也面临同样的问题。 @user3341540 你找到解决方案了吗?
-
@Ganesh 你找到解决方案了吗?
标签: google-oauth gcloud