How do I prevent certain users from accessing another site that is part of SSO?

I’m looking at migrating an Angular SPA/Rails API app to Auth0, alongside a WordPress blog.

  1. I have setup the WP Auth0 plugin, which created a custom database.
  2. I will move the main app to Auth0 via “automatic database migration”, into the same custom database that was created by during the WP Auth0 migration process.

However, I don’t want all my users to have access to WP, only a subset. How can I achieve this?

Hi,

That should be handled by your plugin somehow. See if you have an option to require user authentication for some route/URLs. That’s how it is typically handled in other development platforms/stacks. You made some URLs public for anonymous access and other ones private for authenticated users only.

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