Title: ryansutherlandignite's Replies | WordPress.org

---

# ryansutherlandignite

  [  ](https://wordpress.org/support/users/ryansutherlandignite/)

 *   [Profile](https://wordpress.org/support/users/ryansutherlandignite/)
 *   [Topics Started](https://wordpress.org/support/users/ryansutherlandignite/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ryansutherlandignite/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ryansutherlandignite/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ryansutherlandignite/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ryansutherlandignite/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ryansutherlandignite/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login by Auth0] Migrating between environments – Auth0 Not Ready](https://wordpress.org/support/topic/migrating-between-environments-auth0-not-ready/)
 *  Thread Starter [ryansutherlandignite](https://wordpress.org/support/users/ryansutherlandignite/)
 * (@ryansutherlandignite)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/migrating-between-environments-auth0-not-ready/#post-12096777)
 * Hey Josh,
 * I understand this ticket is resolved, however, got a related question.
 * We are running a multisite. We’ve used the PHP constant AUTH0_ENV_DEFAULT_LOGIN_REDIRECTION
   to help get passed the issue of serialized data changes when migrating between
   environments, however, naturally the default login redirection url should be 
   different for each site on the multisite. eg multisite.com/site2/ and multisite.
   com/site3/ etc
 * Each site will actually have a unique auth0 application.
 * My guess is I will need to look into a way to import/export our db between environments
   in a manner that handles serialized data… potentially via the WP CLI…
 * Before I go down this path, do you have any other suggestions? My guess is we
   are not the first customers to run a multisite using auth0
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login by Auth0] Migrating between environments – Auth0 Not Ready](https://wordpress.org/support/topic/migrating-between-environments-auth0-not-ready/)
 *  Thread Starter [ryansutherlandignite](https://wordpress.org/support/users/ryansutherlandignite/)
 * (@ryansutherlandignite)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/migrating-between-environments-auth0-not-ready/#post-11996162)
 * Hi Josh,
 * Great! Thanks this works
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login by Auth0] Migrating between environments – Auth0 Not Ready](https://wordpress.org/support/topic/migrating-between-environments-auth0-not-ready/)
 *  Thread Starter [ryansutherlandignite](https://wordpress.org/support/users/ryansutherlandignite/)
 * (@ryansutherlandignite)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/migrating-between-environments-auth0-not-ready/#post-11992060)
 * Hi [@auth0josh](https://wordpress.org/support/users/auth0josh/) – Yep you are
   right, its to do with the serialization.
 * Its because the _default login redirection_ setting appears to be auto populated
   with the site url. I tried removing it so that I can rely on the constant instead,
   however, it appears that even with AUTH0_ENV_DEFAULT_LOGIN_REDIRECTION defined,
   the setting is still stored in the db.
 * As such, when I do my find and replace for the site url eg production.mysite.
   com to local.mysite.com, it updates the serialized value and then fails.
 * Have you got any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)