The Auth0 Deploy CLI is a tool that helps you manage your Auth0 tenant configuration. It integrates into your development workflows as a standalone CLI or as a node module.
MIT License
248
stars
154
forks
source link
Export gets stuck on "info: Retrieving branding data from Auth0" step #965
When running export the client gets stuck in step "Retrieving branding data from Auth0". We have tested with the latest version of 7.24.2 and the same issue reproduces. Unfortunately no logs or errors can be seen - the export just gets stuck.
2024-10-14T10:18:23.253Z - info: Loading Auth0 Tenant Data
2024-10-14T10:18:23.454Z - info: Retrieving rules data from Auth0
2024-10-14T10:18:23.644Z - info: Retrieving rulesConfigs data from Auth0
2024-10-14T10:18:23.838Z - info: Retrieving hooks data from Auth0
2024-10-14T10:18:24.267Z - info: Retrieving pages data from Auth0
2024-10-14T10:18:24.518Z - info: Retrieving resourceServers data from Auth0
2024-10-14T10:18:24.733Z - info: Retrieving clients data from Auth0
2024-10-14T10:18:24.970Z - info: Retrieving databases data from Auth0
2024-10-14T10:18:25.209Z - info: Reviewing connections for SCIM support. This may take a while...
2024-10-14T10:18:25.210Z - info: Retrieving connections data from Auth0
2024-10-14T10:18:25.441Z - warn: The following tenant flags have not been updated because deemed incompatible with the target tenant: allow_changing_enable_sso, disable_impersonation, new_universal_login_experience_enabled, universal_login, dashboard_new_onboarding, custom_domains_provisioning
These flags can likely be removed from the tenant definition file. If you believe this removal is an error, please report via a Github issue.
2024-10-14T10:18:25.441Z - info: Retrieving tenant data from Auth0
2024-10-14T10:18:25.677Z - info: Retrieving emailProvider data from Auth0
2024-10-14T10:18:25.950Z - info: Retrieving emailTemplates data from Auth0
2024-10-14T10:18:26.156Z - info: Retrieving clientGrants data from Auth0
2024-10-14T10:18:26.385Z - info: Retrieving guardianFactors data from Auth0
2024-10-14T10:18:26.670Z - info: Retrieving guardianFactorProviders data from Auth0
2024-10-14T10:18:26.951Z - info: Retrieving guardianFactorTemplates data from Auth0
2024-10-14T10:18:27.156Z - info: Retrieving guardianPolicies data from Auth0
2024-10-14T10:18:27.386Z - info: Retrieving guardianPhoneFactorSelectedProvider data from Auth0
2024-10-14T10:18:27.561Z - info: Retrieving guardianPhoneFactorMessageTypes data from Auth0
2024-10-14T10:18:37.371Z - info: Retrieving roles data from Auth0
2024-10-14T10:18:38.297Z - info: Retrieving branding data from Auth0
A workaround is to remove scope read:tenant_settings from the client. Then deployment does not get stuck but we don't get the tenant.json file in the export.
Some possibly related customized branding related things:
We have a custom universal login page template and it is deployed by deploy client. Below image shows the folder structure where under /branding/templates/ we have the universal_login.html and .json files.
We also have custom themes under themes/theme.json
Export should not get stuck or at least show some meaningful error.
Reproduction
Given I have configured custom universal page template, page themes and partials and my auth0 deployment client app has the read:tenant_settings scope enabled for management api
When I run export
The export gets stuck on step "Retrieving branding data from Auth0"
I understand reproducing this might be difficult. But also when knowing the code it might help narrowing done the configurations that are possibly releated to this. Also we are glad to help on getting more detailed logs on what happens under the hood when the export seems to get stuck if we receive further instructions on how to do that.
Checklist
Description
When running export the client gets stuck in step "Retrieving branding data from Auth0". We have tested with the latest version of 7.24.2 and the same issue reproduces. Unfortunately no logs or errors can be seen - the export just gets stuck.
Below full log from the deployment client:
A workaround is to remove scope read:tenant_settings from the client. Then deployment does not get stuck but we don't get the tenant.json file in the export.
Some possibly related customized branding related things:
We also have custom themes under themes/theme.json
We also have a few customized partials on our page https://auth0.com/docs/customize/login-pages/universal-login/customize-signup-and-login-prompts
Expectation
Export should not get stuck or at least show some meaningful error.
Reproduction
I understand reproducing this might be difficult. But also when knowing the code it might help narrowing done the configurations that are possibly releated to this. Also we are glad to help on getting more detailed logs on what happens under the hood when the export seems to get stuck if we receive further instructions on how to do that.
Deploy CLI version
7.24.2
Node version
v18.18.0