• Resolved DeafJoe

    (@deafjoe)


    Got Auth0 working on a WP site.
    Want to have the same user set on a different WP site using a different domain/URL (“sister” site).
    Does Auth0 support this?
    Anything special about the config method?
    Concerned that setting up the 2nd one will adversely affect the first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @deafjoe

    You don’t want 2 sites sharing the same client, you likely want them to share the same database connection. Best bet is to setup the second (third, fourth) site Clients manually, activate those clients under the first database connection created (Connections > Database > Settings > Clients tab), then site the WordPress sites up manually with that new client ID and secret.

    Hope that helps! We’re working on manual setup documentation right now to walk folks through these steps.

    Thread Starter DeafJoe

    (@deafjoe)

    If I do a normal Auth0 WP plugin Setup Wizard on the 2nd site
    … and then change the database connection to be that of the 1st site (either in the plugin Advanced settings, or on the Auth0 Connections page) …
    … does that give me the simplest (safest) setup (i.e. don’t have to do manual)?

    Cheers

    @deafjoe

    There isn’t a DB connection setting in the site and setting it up using the wizard will create a connection that you’ll have to delete. Plus, when you create the admin user, that will go to the new connection instead of the one you’ll want to use. Definitely something that could be improved.

    I would recommend creating the client manually using these steps (recently updated):

    https://auth0.com/docs/cms/wordpress/configuration#client-setup

    … and then authorize the client for the connection created previously (step 3):

    https://auth0.com/docs/cms/wordpress/configuration#connection-setup

    … and make sure to authorize the client:

    https://auth0.com/docs/cms/wordpress/configuration#authorize-the-client-for-the-management-api

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does Auth0 allow multiple WP sites on the same Auth0 Client?’ is closed to new replies.