【问题标题】:401 redirect_uri_mismatch with .net core web application?401 redirect_uri_mismatch 与 .net 核心 Web 应用程序?
【发布时间】:2021-11-01 03:04:23
【问题描述】:

授权错误 错误 400:redirect_uri_mismatch

您无法登录此应用,因为它不符合 Google 的 OAuth 2.0 政策。

如果您是应用开发者,请在 Google Cloud Console 中注册重定向 URI。

【问题讨论】:

标签: asp.net-core google-drive-api google-oauth


【解决方案1】:

重定向 uri 位于您告诉授权服务器返回授权的 URI。此 uri 必须在您的项目的 Google 开发者控制台中注册。

所以重定向 uri 未匹配意味着您的应用程序正在告诉授权服务器将授权代码返回到您尚未在 Google 开发人员控制台中配置的 uri。最简单的解决方案是获取它告诉您丢失的 uri,然后简单地添加它。

此视频将向您展示如何添加它。 Google OAuth2: How the fix redirect_uri_mismatch error.

【讨论】:

    猜你喜欢
    • 2018-05-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-17
    相关资源
    最近更新 更多