Update branding shown in univeral login customize for use in CICD #1397
Replies: 5 comments
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
Also figured out Additionally, the email templates follow the intuitive format of most cli tools, using a flag instead of pipe input The only one that seems to not be possible is updating the theme. https://auth0.com/docs/api/management/v2/branding/patch-branding-theme |
Beta Was this translation helpful? Give feedback.
-
|
Hi there! Currently, The Auth0 CLI does not have dedicated commands for direct branding theme management (like and auth0 built the theme APIs to support multiple themes in the future, even though we only support one today. Recommended Workaround for CI/CD Integration:Since you need to integrate this into your CI/CD pipeline, you can use the auth0 api command, which makes authenticated calls to any Management API endpoint. Here's the complete flow: Step 1: Set Up Machine-to-Machine Authentication Scopes Required: Ensure your M2M application has read:branding and update:branding scopes granted. Step 2: Fetch the Current Theme ID Step 3: Update Your Branding Theme |
Beta Was this translation helpful? Give feedback.
-
|
Thanks 👍 Is there a plan to implement the rest of the branding commands as standard cli commands? Also the branding documentation is super unclear as to how you're intended to use it. Are some of them deprecated and you're just supposed to us |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the feedback! 👍 I really appreciate you taking the time to share your experience with the documentation and highlighting these gaps. You're absolutely right that we need to improve clarity around the branding commands and their usage patterns. Supported Universal Login/Branding Commands: auth0 universal-login customize - Customize the Universal Login experience for the standard or advanced mode What's Currently Missing: Branding Themes: Dedicated CLI commands for branding theme management If you're finding any other gaps in branding-related resources, please let us know! Next Steps:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you'd like to have solved
Update the standard branding with the CLI to deploy to production environments.
I thought I'd be able to use
auth0 universal-login customize --no-input ...as described in the docs but this still brings up the interactive UI to edit.Its also not very clear from the docs how the different UL commands are supposed to be used. The
ul customizecommand seems like it does everything (interactively). But then there is alsoul promptsandul templateswhich seem to cover a subset of whatul customizedoes. Then theresul updatewhich can only be used to change a couple of values so isn't very useful.Describe the ideal solution
Run
auth0 universal-login customize --no-input ...with a file input to update branding, templates, custom prompts ect in a particular tenant.Alternatives and current workarounds
Use curl and the API
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions