我正在按照这个网页创建和授权OAuth令牌: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授权 - 错误:redirect_uri_mismatch
但是当我试图将重定向URL注册到我的控制台时,我被告知该URL无效。