Wordpress Login with auth0 plugin

@josh.cunningham I have used the same database connection in Auth0 for all 3 sites.

@josh.cunningham

I have few pages which should be accessible by logged in user only. When I want to access this pages without login then must be redirect to custom login page instead of application login url.

For example : https://example.com/am/dashboard/

This will redirect me to

https://myapp.eu.auth0.com/login/

If you have Features > Universal Login Page turned on in the plugin, this redirect will happen automatically when you send users to wp-login.php. Here is a sample of a page template that redirects if a user is not logged in:

1 Like

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