returnTo query parameter passed by to the /login/callback during the execution of the logout. The URI used will depend on the API called to request the session logout:
https://{yourDomain}/logout: Auth0 will use thereturnToparameterhttps://{yourDomain}/v2/logout?federated: Auth0 will use thereturnToparameterhttps://{yourDomain}/wsfed/{yourClientId}?wa=wsignout1.0: thewreplyparameter
Affected endpoints
The following endpoints are affected by this change:https://{yourDomain}/v2/logoutwhen using thefederatedquery parameter to log users out of Identity Providershttps://{yourDomain}/wsfed/{yourClientId}?wa=wsignout1.0when using thewreplyquery to log out of Auth0 using the WS-Fed Protocolhttps://{yourDomain}/login/callbackwhen using thereturnToquery parameter.
- Applications that call
/login/callback?returnTowithout a preceding call to/v2/logout or /wsfed/{yourClient}?wa=wsignout1.0to specify the Logout URL. - Identity Providers that call
/login/callback?returnTowith a value inreturnTothat is different to the value originally provided in a preceding call to/v2/logoutor/wsfed/{yourClientId}. - Applications that make concurrent calls to one of the affected APIs while providing different redirection URIs in the different calls.
- Applications or users that make calls to the
/authorizeAPI concurrently or interleaved with calls to one of the affected APIs regardless of whether there was a preceding call to/v2/logoutor/wsfed/{yourClientId}?wa=wsignout1.0.
Actions
-
Go to Auth0 Dashboard > Monitoring > Logs, and search for
type:depnote AND description:*unvalidated*redirects*to find applications that rely on the deprecated behavior. -
For each affected application, ensure that:
- the application or Relying Party initiates the logout using one of Auth0’s public APIs: Authentication API: Logout or Authentication API: WS-Federation.
- the application does not rely on Identity Providers modifying the Logout URL that is passed back to
/login/callback?returnToas these modifications will no longer be honored. - the application does not make concurrent calls to logout APIs using different Logout URLs. Auth0 will store only a single Logout URL for a user agent at any one time, which means that concurrent logout processes will fail to redirect.
- the application does not make calls to
/authorizeconcurrently or interleaved with calls to the logout APIs. Completing a login transaction will clear the stored Logout URL for a user agent, which means that concurrent logout processes will fail to redirect. - the application and users do not interleave calls to
/authorizewith calls to one of the affected APIs.
Verify migration
Once you have migrated your applications and are sure that they no longer rely on the deprecated usage patterns, verify your changes by disabling the deprecated behavior at a time of your choosing and ahead of 01 December 2021.- Go to Auth0 Dashboard > Tenant Settings > Advanced, and locate the Migrations section.
- Disable the Unvalidated redirects from /login/callback switch. Turning off this switch disables the deprecated behavior for your tenant, preventing it from being used.