Auth0 Home Blog Docs

Wordpress Login with auth0 plugin

wordpress
auth0
plugin
#21

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

#22

@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/

#23

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
closed #24

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