# Additional properties not allowed new-universal-login-experience-enabled

**URL:** <https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069>\
**Category:** Get Help\
**Tags:** branding-mangement-api, management-api\
**Created:** [May 30, 2023, 7:23am UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069 "2023-05-30T07:23:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshdev](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@joshdev](https://community.auth0.com/u/joshdev)\
**Post date:** [May 30, 2023, 7:23am UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/1 "2023-05-30T07:23:22Z")

</div>

Title is wrong, the flag in question is `new_universal_login_experience_enabled`. Couldn’t submit a post containing a word that long in the title (a frustrating limitation…).

We’re getting the error:

```auto
error: Problem running command import during stage processChanges when processing type tenant

error: Payload validation error: 'Additional properties not allowed: new_universal_login_experience_enabled' on property flags (Flags used to change the behavior of this tenant).

info: Please refer to the Auth0 Management API docs for expected payloads: https://auth0.com/docs/api/management/v2

```

Has the `new_universal_login_experience_enabled` field been depreciated? I don’t see anything specific in the management API docs. Is this configured purely in the dashboard login\_settings now?

Cheers.

---

<div class="post-metadata">

**Author:** ![pinecone](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pinecone/32/13714_2.png) [@pinecone](https://community.auth0.com/u/pinecone)\
**Post date:** [May 31, 2023, 3:51pm UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/2 "2023-05-31T15:51:27Z")

</div>

+1 we also started seeing this recently.

At the same time, we started seeing errors in our dev tenant saying “cipher\_text is mandatory” whenever we enable any rules – is this related?

---

<div class="post-metadata">

**Author:** ![ryan.dietz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ryan.dietz/32/33314_2.png) [@ryan.dietz](https://community.auth0.com/u/ryan.dietz)\
**Post date:** [June 1, 2023, 5:19pm UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/3 "2023-06-01T17:19:49Z")

</div>

+1 i’ve seen this happen today as well. It is only happening to 1 of our 3 tenants.

---

<div class="post-metadata">

**Author:** ![lily.rafaeli](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lily.rafaeli/32/45241_2.png) [@lily.rafaeli](https://community.auth0.com/u/lily.rafaeli)\
**Post date:** [June 2, 2023, 7:33am UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/4 "2023-06-02T07:33:33Z")

</div>

happening to us as well

---

<div class="post-metadata">

**Author:** ![cynthia.qiu](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@cynthia.qiu](https://community.auth0.com/u/cynthia.qiu)\
**Post date:** [June 2, 2023, 2:22pm UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/6 "2023-06-02T14:22:57Z")

</div>

Happen to us too. We use Auth0 deployment CLI

```auto
2023-06-02T14:16:23.821Z - error: Problem running command import during stage processChanges when processing type tenant
2023-06-02T14:16:23.821Z - error: Payload validation error: 'Additional properties not allowed: new_universal_login_experience_enabled' on property flags (Flags used to change the behavior of this tenant).
2023-06-02T14:16:23.821Z - info: Please refer to the Auth0 Management API docs for expected payloads: https://auth0.com/docs/api/management/v2
npm ERR! code ELIFECYCLE
npm ERR! errno 1

```

---

<div class="post-metadata">

**Author:** ![will.vedder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will.vedder/32/46585_2.png) [@will.vedder](https://community.auth0.com/u/will.vedder)\
**Post date:** [June 2, 2023, 4:49pm UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/7 "2023-06-02T16:49:11Z")

</div>

All - This is Will, one of the main contributors for the Auth0 Deploy CLI.

As you’ve discovered, the `new_universal_login_experience_enabled` flag has been deprecated because that setting is adequately captured elsewhere in the tenant definition. However, other folks may be seeing a similar error message but different flag being referenced. This is because Auth0 is constantly evolving the product and delivering updates, sometimes causing these flags to be suddenly incompatible. I acknowledge that this can be an inconvenience to you and your development process.

**As an initial workaround** you can safely remove the `new_universal_login_experience_enabled` property from your tenant resource definition. We will be looking into how we can validate these flags automatically such that this problem doesn’t pop up again.

Thanks everyone for surfacing this issue. I hope this helps!

---

<div class="post-metadata">

**Author:** ![nick.mcmahon](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nick.mcmahon](https://community.auth0.com/u/nick.mcmahon)\
**Post date:** [June 5, 2023, 3:12am UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/8 "2023-06-05T03:12:19Z")

</div>

Hi @will.vedder

At a minimum, we need some form of retrospective confirmation over what has been added/changed/removed. If the following page had a changelog, we could validate the flag was intentionally decommissioned.

> **[Auth0 Management API v2](https://auth0.com/docs/api/management/v2#!/Tenants/tenant_settings_route)**

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 5, 2023, 7:01am UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/9 "2023-06-05T07:01:59Z")

</div>

Thanks for helping on this one @will.vedder !

---

<div class="post-metadata">

**Author:** ![will5](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will5/32/47902_2.png) [@will5](https://community.auth0.com/u/will5)\
**Post date:** [June 7, 2023, 9:06pm UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/10 "2023-06-07T21:06:25Z")

</div>

Hi @will.vedder, are you issuing deprecation notices from a0deploy for things like this? Is it possible to force a0deploy to fail for deprecated config? And/or do you publish JSON schemas we can use to validate the config?

We have a CI step for PRs that a0deploys new config to a sandbox tenant, blocking the PR when it fails to prevent deploying bad config. What happened for us was that you changed this property from deprecated to failing after it passed that sandbox test, but before it was merged, and our CI deployed the assumed-valid config to our dev tenant, breaking auth for dev applications.

Also, generally how do you handle deprecations?

---

<div class="post-metadata">

**Author:** ![will.vedder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will.vedder/32/46585_2.png) [@will.vedder](https://community.auth0.com/u/will.vedder)\
**Post date:** [June 7, 2023, 10:29pm UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/11 "2023-06-07T22:29:31Z")

</div>

**Update:** Thanks for everyone’s patience here. To recap, this problem stemmed from an undocumented, internally-focused feature flag being deprecated in the API. These flags are used to facilitate backend migrations, opt-in specialized features and generally perform maintenance. The Deploy CLI was managing some of these flags on behalf of the users, so when the removal happened, the above API error occurred.

**Resolution:** We’ve released a v7.17.4 update to Deploy CLI that actively ignores these internally-focused flags. This will ensure a much higher degree pf compatibility between all tenants, regions, configurations and permutations thereof. This change is also naturally defensive by nature, avoiding issues even if another deprecated flag were to occur. This will have no material impact to your tenants, they will still operate and deploy as expected. If any issues arise, please submit a Github issue to the[Deploy CLI repo](https://github.com/auth0/auth0-deploy-cli) so we can resolve for you.

Additionally, the removed flag in question was un-removed to maintain backwards compatibility.

Regarding the questions around deprecations and removals, for the _vast_ majority of cases, no breaking changes are introduces into Auth0’s APIs. But as we’ve seen on special occasions, removal of undocumented, internal flags may be performed. We’re reevaluating this practice and looking for ways to improve our tools and API to improve customer outcomes. Deprecations of documented API features are otherwise rare and would be accompanied with abundant communications.

Thanks again for everyone’s patience here. Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 21, 2023, 10:30pm UTC](https://community.auth0.com/t/additional-properties-not-allowed-new-universal-login-experience-enabled/108069/12 "2023-06-21T22:30:02Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
