• Resolved backpackingseries

    (@backpackingseries)


    Hi,

    I am in the midst of changing my WordPress domain name / site URL – which essentially also means changing the tenant too (since renaming a tenant is not supported by Auth0).

    To prepare for the transition, I guess I will need to delete the Auth0 data for every user. Would disabling the Auth0 plugin delete the associated Auth0 Data for everyone? Or do I need to delete the plugin and reinstall?

    Also, any other advice to manage this tenant transfer is welcome.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • @backpackingseries – Just for clarity here … you shouldn’t *have* to change the tenant name for your Application to work, just the URLs in the Application.

    One option, if you’re on a paid plan, is to use a custom domain. There is a field for that domain in the plugin settings and those can change as needed.

    To prepare for the transition, I guess I will need to delete the Auth0 data for every user.

    If you’re starting over with the same WP site then, yes, that needs to be deleted.

    Would disabling the Auth0 plugin delete the associated Auth0 Data for everyone? Or do I need to delete the plugin and reinstall?

    No, that only deletes options and related settings, usermeta remains. The usermeta keys you want to delete for all users are here:

    https://github.com/auth0/wp-auth0/blob/master/lib/WP_Auth0_UsersRepo.php#L220

    You can install a custom plugin and use that method on all user IDs or just do it in a MySQL query.

    If you’re starting over from scratch on a new tenant, it’s probably best to run the Setup Wizard on the new site so everything gets configured properly, then walk through the plugin settings one by one and map those over.

    Let me know if you need any more assistance here.

    • This reply was modified 5 years, 8 months ago by Josh C.
    • This reply was modified 5 years, 8 months ago by Josh C.
    Thread Starter backpackingseries

    (@backpackingseries)

    Thank you @auth0josh for the detailed answer. This is very helpful.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to manage WordPress site URL change in Auth0 plugin?’ is closed to new replies.