I'm not sure if I'm reading the docs incorrectly, but I am running into issues while trying to set the redirect URI for JWT authentication with Google and Facebook.
For Google, I created the client id and application for oauth as follows:
I set the secret and key in settings.py
I visited https://accounts.google.com/o/oauth2/v2/auth?client_id=<client_id>&response_type=code&scope=email&redirect_uri=http://localhost:3000/login and got the code from the redirect. After that, I sent it to the local backend http://localhost:8000/login/social/jwt-pair/ with body
I'm not sure if I'm reading the docs incorrectly, but I am running into issues while trying to set the redirect URI for JWT authentication with Google and Facebook.
For Google, I created the client id and application for oauth as follows:
I set the secret and key in settings.py
I visited
https://accounts.google.com/o/oauth2/v2/auth?client_id=<client_id>&response_type=code&scope=email&redirect_uri=http://localhost:3000/login
and got the code from the redirect. After that, I sent it to the local backendhttp://localhost:8000/login/social/jwt-pair/
with bodybut I get this error message :
Same goes for Facebook. Is this a bug, missing in the docs, or my error?
Thanks