Not allowed to set certain flags for particular tenant
See original GitHub issueDescription
I am experiencing the same issue described here: https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926
Basically I’m trying to create a new tenant for a dev environment, so I exported the config from my existing staging tenant, which results in a config file that includes:
tenant:
flags:
...
include_email_in_reset_pwd_redirect: true
include_email_in_verify_email_redirect: true
The problem is when I go to deploy this config to the newly created dev tenant I get the following error:
...
2020-08-06T19:15:26.945Z - error: Problem running command deploy during stage processChanges when processing type tenant
2020-08-06T19:15:26.945Z - error: You are not allowed to set flag 'include_email_in_reset_pwd_redirect' for this tenant.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
Same deal for include_email_in_verify_email_redirect if I remove the include_email_in_reset_pwd_redirect flag from the tenant.yaml file:
...
2020-08-06T19:08:02.620Z - error: You are not allowed to set flag 'include_email_in_reset_pwd_redirect' for this tenant.
...
Environment
- Version of this library used: 5.1.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Not allowed to set certain flags for particular tenant
Hi,. I'm using auth0-deploy-cli to deploy configurations to multiple tenants. However, for one of the tenants (I am the admin user), ...
Read more >Display of certain flags, Ohio Rev. Code § 5321.131 - Casetext
Section 5321.131 - Display of certain flags (A) No landlord shall include any restriction in a rental agreement against, or otherwise prohibit on...
Read more >Landlords and Tenants controversy Over Flag Displays
The Act prohibits condo associations from banning flag poles and other flag displays in private residences. However, that law does not cover renters....
Read more >Can Your HOA Prohibit You From Flying Your Favorite Flag?
Whether it's a rainbow flag or a Halloween pumpkin, your HOA rules may validly prohibit it -- but watch out for discriminatory or...
Read more >Displaying Signs on Rental Property: Who Decides?
The simplest way to avoid complication is to add specific language to ... In Massachusetts, the right of tenants to display signs --...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi there!
These flags are being deprecated and may not be available for update for all tenants.
From the perspective of
auth0-deploy-cli, it is meant to be a configuration as code tool, thus silently ignoring a not-applicable flag is not a good strategy. Throwing an error and make these deprecated flags visible could help keeping a valid configuration.On the other hand, we are continuing improving the way we communicate deprecation and hopefully can avoid confusions in future.
I’m closing this issue as
auth0-deploy-cliis behaving as expected.Thanks, Shu
Hi folks, know this is coming a bit late but wanted let you all know this was fixed with v7.14.0. Appreciate the patience here!