我正在根据此网页创建和授权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
Run Code Online (Sandbox Code Playgroud)
我认为这可能会有所帮助:Google OAuth 2授权 - 错误:redirect_uri_mismatch
但是当我尝试将重定向url注册到我的控制台时,我被告知该url无效.