From be816eb8b2438ebbc44145c6291245cf37984d86 Mon Sep 17 00:00:00 2001 From: ramya18101 Date: Tue, 25 Feb 2025 10:58:16 +0530 Subject: [PATCH 1/5] enhance UL customize and switch commands --- ACUL_TIPS.md | 91 +++++++++++++++++++++++ docs/auth0_universal-login.md | 1 + docs/auth0_universal-login_customize.md | 1 + docs/auth0_universal-login_show.md | 1 + docs/auth0_universal-login_switch.md | 55 ++++++++++++++ docs/auth0_universal-login_update.md | 1 + internal/cli/universal_login.go | 1 + internal/cli/universal_login_customize.go | 74 ++++++++++++++++-- 8 files changed, 220 insertions(+), 5 deletions(-) create mode 100644 ACUL_TIPS.md create mode 100644 docs/auth0_universal-login_switch.md diff --git a/ACUL_TIPS.md b/ACUL_TIPS.md new file mode 100644 index 000000000..db5812ffd --- /dev/null +++ b/ACUL_TIPS.md @@ -0,0 +1,91 @@ +# πŸš€ Universal Login Rendering Mode & Customization Guide + +Welcome to the **Universal Login Customization Guide**! 🎨 +This document provides essential information on **configuring the rendering mode** and **customizing head tags** for Universal Login. + +--- + +## ✨ Key Points to Remember + +### πŸ”Ή 1. Rendering Mode Options +- `rendering_mode` can be set to **either** `"advanced"` or `"standard"`. +- The **default value** is `"standard"`. + +### πŸ”Ή 2. Default Head Tags +- `default_head_tags_disabled` is a **toggle** to enable/disable **Universal Login's default head tags**. + +### πŸ”Ή 3. Context Configuration +- `context_configuration` contains a list of **context values** made available. +- Refer to the [official documentation](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens) for possible values. + +### πŸ”Ή 4. Head Tags Customization +- `head_tags` is an **array of custom head tags** (e.g., scripts, stylesheets). +- **⚠️ At least one** `