Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ryansutherlandignite

    (@ryansutherlandignite)

    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

    Thread Starter ryansutherlandignite

    (@ryansutherlandignite)

    Hi Josh,

    Great! Thanks this works

    Thread Starter ryansutherlandignite

    (@ryansutherlandignite)

    Hi @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)