Relative Content

Tag Archive for pythondjangooauth-2.0google-oauth

Google OAuth 2.0 redirect_uri_mismatch

I’m getting a Google OAuth 2.0 redirect_uri_mismatch error. I receive this error when I add https://domain-name.com and https://domain-name.com/oauth/complete/google-oauth2/, but I can log in with Google when I run these URLs locally (http://127.0.0.1:8000 and http://127.0.0.1:8000/oauth/complete/google-oauth2/). Is there a mistake I might be missing? (Note: I’m using the Python Django library)