Google Apis Oauth 2.0 Redirect_uri_mismatch Error
I am trying to set up a Google Drive API instance with Python to download files. I set up an OAuth 2.0 Client ID on my Google APIs Console for a specific project and have enabled t
Solution 1:
Please modify as follows.
Please set the redirect uri at "Google APIs Console's credentials section" of Google Cloud Platform as follows. When you modified it, please save it. And please confirm whether the redirect url was modified.
Please modify your script as follows. From your replying, I understand that you are using the script of Quickstart for python.
From
creds = flow.run_local_server(port=0)
To
creds = flow.run_local_server(port=8080)
Run the script and authorize.
Post a Comment for "Google Apis Oauth 2.0 Redirect_uri_mismatch Error"