Password Change Error Organizations are not Supported in Classic Universal Login

Overview

When a password reset flow is initiated by calling the POST /dbconnections/change_password endpoint, the following error appears even though the New Univeral Login is being used.

Organizations are not supported in Classic Universal Login

Applies To

  • New Universal Login
  • Password change flow

Cause

This is due to a rare issue that exists in certain tenants related to the Universal Login experience.

Solution

Use the Update tenant settings endpoint via the Management API to resolve this issue.

This is the payload that should be sent:

{

 "flags": {

  new_universal_login_experience_enabled: true

 }

}

Here is an example curl request:

curl --request PATCH 'https://TENANT.REGION.auth0.com/api/v2/tenants/settings' \

--header 'Authorization: Bearer MGMT_API_TOKEN_HERE' \

--header 'Content-Type: application/json' \

--data '{

 "flags": {

  "new_universal_login_experience_enabled": true

 }

}'