gpt4 book ai didi

oauth-2.0 - Google OAuth2授权OAuth token 错误:redirect_uri_mismatch

转载 作者:行者123 更新时间:2023-12-03 12:00:16 25 4
gpt4 key购买 nike

我正在根据以下网页创建和授权OAuth token :https://code.google.com/p/google-mail-oauth2-tools/wiki/OAuth2DotPyRunThrough

但是我得到了这个错误:redirect_uri_mismatch。

The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a registered redirect URI
from_login=1
cookie_policy_enforce=false
scope=https://mail.google.com/
response_type=code
access_type=online
redirect_uri=urn:ietf:wg:oauth:2.0:oob
as=-80019291b2cb8ed
display=page
pli=1
client_id=......
authuser=0
hl=en

我认为这可能会有所帮助: Google OAuth 2 authorization - Error: redirect_uri_mismatch

但是,当我尝试将重定向URL注册到控制台时,被告知URL无效。

最佳答案

redirect_uri(urn:ietf:wg:oauth:2.0:oob)仅适用于为安装的应用程序生成的Google客户端ID。您可以转到your console并创建此类型的新客户端ID。

关于oauth-2.0 - Google OAuth2授权OAuth token 错误:redirect_uri_mismatch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17954086/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com