question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not allowed to set certain flags for particular tenant

See original GitHub issue

Description

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:closed
  • Created 3 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
shushencommented, Dec 18, 2020

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-cli is behaving as expected.

Thanks, Shu

0reactions
willveddcommented, Jun 28, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found