Auth0 Home Blog Docs

SSO with Wordpress and Django API


Hi Auth0 Community,

I try to implement a SSO for a Wordpress instance, which uses a Django API using Javascript requests.

My idea is, that the user logs in with the Auth0 Wordpress Plugin, and is then authenticated for Wordpress and the Django server. So I installed the auth0 Wordpress Plugin, and configured authentication with Auth0. This parts works. User is authenticated in Wordpress. Now comes the hard part: I want the Django server to know, that the user is already authenticated. So I activated the SSO Option for the Wordpress plugin.

And now I’m stuck. How can django know, that the user is already authenticated? I do not want the user to confirm something.

  1. Is it enought to implement the authentication backend like in:
  2. Or do I need to do token validation like in
  3. Do I need different Auth0 APIs? Or do I use the same client ID for Django and Wordpress?

Wordpress is running on, server on

Thank you!


Hey @dienste

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!


This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.