Auth0 Home Blog Docs

Django / Python Social Auth 404 Error in /oauth/token endpoint

django
#1

I’m following along with the Django Tutorial, and it seems to work for the most part. But seems to be failing at the very last step of the login process, where I’m getting a 404 error from the https://[site].auth0.com/oauth/token endpoint.

404 Client Error: Not Found for url: https://[site].auth0.com/oauth/token

Python 3.6.1, Django 2.1.3

Is this a problem with my code, Auth0 configuration, or understanding on how this is supposed to work?

#2

Hi!

Were you able to solve it?

I think you have a misconfiguration in this part, can you share the content of SOCIAL_AUTH_AUTH0_DOMAIN setting? It should be something like bob.auth0.com.

Can you check?

Thanks!

#3

Hey, thanks for the check. I put this project on the back burner since this error message and not touched it since. I’ll be able to check again in a couple weeks after the holidays, and I’ll let you know! Thanks!

1 Like