Hi Josh, and community
We are encountering a problem trying to implement SSO between a PHP app and a WordPress site, with Auth0 has Identity Provider.
Some info:
- The PHP app is integrated with Auth0
- Everything works perfectly
- We have a WordPress site where we installed Login by Auth0 plugin
- When a user tries to login on WordPress, he is redirected to the Universal Login Page, authenticates and is then logged in on the WordPress site
Here is where we are stuck:
- User wants to log to a PHP app integrated with Auth0
- User is redirected to the Universal Login Page
- User is properly authenticated by Auth0
- User is redirected to the PHP app, logged in with a user account
- User navigate to the WordPress site and tries to access a page only available to user
- User is redirected again to the Universal Login Page
Since the user already have an Auth0 session, shouldn’t he already be logged in on the WordPress site ?
Reverse process also ends with the same problem.
What are we missing ? Thanks for any help !