I’m using auth0-deploy-cli to import a tenant configuration. the tenant.yaml includes tenant.flags.include_email_in_reset_pwd_redirect: true. When I attempt to import I encounter the error below:
2021-12-07T23:21:50.745Z - error: Problem running command import during stage processChanges when processing type tenant
2021-12-07T23:21:50.745Z - error: You are not allowed to set flag 'include_email_in_reset_pwd_redirect' for this tenant.
I confirmed that the client I’m using has the update:tenant_settings scope in its grant for the Auth0 Management API. What am I missing?
I understand you could not set a tenant flag with the Auth0 Deploy CLI.
It appears that you are trying to set the include_email_in_reset_pwd_redirect flag in the tenant settings of your tenant.yaml file. Unfortunately, this flag is not available for newer tenants, which do not have this flag present. It may be the case where you have a legacy tenant where the exported tenant settings have this flag included. Now importing these settings to newer tenants will not accommodate deprecated flags.
The only flags available for the tenant object are the following: