我根据这个网页创建和授权的OAuth令牌:https://code.google.com/p/google-mail-oauth2-tools/wiki/OAuth2DotPyRunThrough谷歌的OAuth2中授权的OAuth令牌错误:redirect_uri_mismatch
但我得到这个错误: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到我的控制台,我被告知,该网址是无效的。
是的,你是对的。我通过为**安装的应用程序**创建客户端ID来解决此问题。 – Cacheing
DOH。使用为Web应用程序创建的一个。我想要回到我生命中的最后4个小时! –
创建OAuth客户端ID>其他....完成作业。谢谢@oravecz –