redirect_uri is always localhost when json and console have it as a proper domain of localhost

201 views Asked by At

I went through 11485271 but not avail.

I see

enter image description here

Even though I removed localhost. (And when I gave localhost it was at port 8000 and not 8080)

"redirect_uris":["https://local.mysite.com"]

https://local.mysite.com is my MAMP PRO setup.

When I goto https://accounts.google.com/o/oauth2/auth?client_id={client_id}&response_type=token&redirect_uri=https%3A%2F%2Flocal.mysite.com&scope={scope} in the browser it works, its just that its not working when I do python3 script.py.

So how do I fix this ?

0

There are 0 answers