Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
1875542
initial commit
ramya18101 Jun 20, 2025
06d9748
add logic to read .js and .css from all the folders in assets for a g…
ramya18101 Jun 23, 2025
f0c4e43
fix logic by adding a sleep timer to settle the files and update command
ramya18101 Jun 23, 2025
feb7a7a
Update head_tags content for .js extended files
ramya18101 Jun 23, 2025
8eafe6d
Update logic to support watching screens 1 or all or specific
ramya18101 Jul 9, 2025
ec56478
Update logic to support watching screens
ramya18101 Jul 11, 2025
01b375b
final code to support watching screens
ramya18101 Jul 11, 2025
462fa80
Update docs and examples
ramya18101 Jul 11, 2025
c3397dd
Add docs for watch and patch assets
ramya18101 Jul 14, 2025
8ce28b9
Add scaffolding commands(POC) and documentation for acul app initiali…
ramya18101 Aug 27, 2025
84d1570
Merge branch 'main' into DXCDT-1178-support-acul-scaffolding-app
ramya18101 Sep 5, 2025
8b4d176
update docs and fix lints
ramya18101 Sep 7, 2025
b663240
add acul_config generation for acul app init
ramya18101 Sep 7, 2025
bddbe33
Initial commit
ramya18101 Sep 8, 2025
2dcda65
Add support for add-screen command
ramya18101 Sep 11, 2025
72abe53
Update branch to the latest
ramya18101 Sep 15, 2025
15be4c8
Merge branch 'DXCDT-1165-support-acul-command' into DXCDT-1178-suppor…
ramya18101 Sep 15, 2025
45f4c6d
refactor scaffolding app code
ramya18101 Sep 15, 2025
8b54cee
refactor scaffolding app code
ramya18101 Sep 15, 2025
d888580
Update branch to the latest
ramya18101 Sep 15, 2025
638461a
refactor screen scaffolding
ramya18101 Sep 15, 2025
77853ac
Update go-auth0 version and docs
ramya18101 Sep 15, 2025
e2909db
refactor: rename and restructure acul scaffolding.
ramya18101 Sep 17, 2025
7a009fe
Update docs
ramya18101 Sep 17, 2025
6a10726
Update docs
ramya18101 Sep 18, 2025
2f6a198
Update branch latest to 'DXCDT-1165-support-acul-command'
ramya18101 Oct 18, 2025
94a145e
Update branch
ramya18101 Oct 19, 2025
74ba506
enhance ACUL project scaffolding with Node checks and improved templa…
ramya18101 Oct 20, 2025
b68c281
refactor screen loader generation to improve error handling
ramya18101 Oct 20, 2025
7b0838b
fix lint
ramya18101 Oct 20, 2025
9a48112
Update branch latest to 'DXCDT-1178-support-acul-scaffolding-app'
ramya18101 Oct 21, 2025
4bf2f31
refactor ACUL scaffolding app commands and docs
ramya18101 Oct 22, 2025
58397fe
Update branch latest to 'DXCDT-1178-support-acul-scaffolding-app'
ramya18101 Oct 22, 2025
f0c01f5
enhance ACUL scaffolding with user guidance and next steps
ramya18101 Oct 22, 2025
d499a95
enhance ACUL scaffolding with improved user feedback
ramya18101 Oct 23, 2025
d406430
refactor ACUL scaffolding
ramya18101 Oct 23, 2025
8708642
refactor ACUL scaffolding
ramya18101 Oct 23, 2025
867c981
refactor ACUL scaffolding to filter out regenerated screenLoader.ts file
ramya18101 Oct 24, 2025
fe59d33
refactor ACUL scaffolding to consolidate post-scaffolding output
ramya18101 Oct 24, 2025
5664339
enhance ACUL scaffolding with template and screens flags for project …
ramya18101 Oct 27, 2025
c156bd6
enhance ACUL scaffolding with the latest manifest
ramya18101 Oct 27, 2025
cc379b3
Update branch latest to 'watch-and-patch-assets'
ramya18101 Oct 27, 2025
55007a3
Initial commit
ramya18101 Oct 28, 2025
10a7a6c
Add 'dev' command for connected mode with asset watching
ramya18101 Oct 29, 2025
13229ef
Add 'connected' flag to dev command for advanced rendering updates
ramya18101 Oct 31, 2025
5e56153
Refactor acul dev command and improve documentation for dev and conne…
ramya18101 Nov 3, 2025
2a58131
enhance ACUL scaffolding to dynamically fetch the latest release tag
ramya18101 Nov 3, 2025
29cf911
Merge branch 'DXCDT-1165-support-acul-command' into DXCDT-1178-suppor…
ramya18101 Nov 3, 2025
4f58628
use 'acul-sample-app' as default project name
ramya18101 Nov 3, 2025
3d422b9
Merge branch 'DXCDT-1178-support-acul-scaffolding-app' into DXCDT-117…
ramya18101 Nov 3, 2025
5dd3e4c
enhance ACUL scaffolding to support version compatibility checks and …
ramya18101 Nov 4, 2025
9fd1d38
Merge branch 'DXCDT-1179-support-acul-scaffolding-screen' into DXCDT-…
ramya18101 Nov 4, 2025
bff891b
refactor: streamline screen selection and validation logic in ACUL sc…
ramya18101 Nov 4, 2025
82b2222
update ACUL dev mode documentation and improve screen detection logic
ramya18101 Nov 4, 2025
e63bb18
refactor: implement bulk update for screen rendering settings in ACUL
ramya18101 Nov 5, 2025
0900986
enhance screen selection and validation logic in ACUL dev mode
ramya18101 Nov 5, 2025
5e1d1a4
enhance connected mode feedback and streamline output messages in ACUL
ramya18101 Nov 6, 2025
3b0cebf
enhance asset patching and restore original settings on shutdown in ACUL
ramya18101 Nov 6, 2025
ff68db2
enhance ACUL scaffolding with improved error handling and npm install…
ramya18101 Nov 6, 2025
27c4cef
enhance ACUL scaffolding to improve error handling and ensure unique …
ramya18101 Nov 6, 2025
6e81baf
Merge branch 'DXCDT-1179-support-acul-scaffolding-screen' and fix lin…
ramya18101 Nov 6, 2025
d273de9
Merge branch 'DXCDT-1165-support-acul-command' into DXCDT-1178-suppor…
ramya18101 Nov 7, 2025
ea19a94
improve ACUL scaffolding with handling,prerequisite checks and screen…
ramya18101 Nov 7, 2025
16d880e
improve ACUL scaffolding with handling prerequisite checks and screen…
ramya18101 Nov 7, 2025
c9d009d
Merge branch 'DXCDT-1179-support-acul-scaffolding-screen' into DXCDT-…
ramya18101 Nov 7, 2025
6ac2d36
enhance ACUL command with prerequisite checks and connected mode vali…
ramya18101 Nov 7, 2025
9199da5
refactor screen validation and selection logic
ramya18101 Nov 11, 2025
dd7934c
enhance shutdown messages and add restoration prompt
ramya18101 Nov 14, 2025
9e60da9
refactor patch logic and restoration prompts
ramya18101 Nov 14, 2025
fd628c4
enhance screen selection logic with multi-select support and improved…
ramya18101 Nov 18, 2025
ebf4243
Update branch latest to 'DXCDT-1165-support-acul-command'
ramya18101 Nov 19, 2025
24531bf
update BulkUpdateRendering method signature
ramya18101 Nov 19, 2025
73048b6
Enhance ACUL Dev Mode with browser integration
ramya18101 Nov 24, 2025
dc6e56d
Add support for extra files in ACUL scaffolding and update repo URLs
ramya18101 Nov 27, 2025
81c6bec
Fix lint
ramya18101 Nov 27, 2025
5964818
Refactor ACUL scaffolding and error messages
ramya18101 Dec 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/auth0_acul.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Customize the Universal Login experience. This requires a custom domain to be co
## Commands

- [auth0 acul config](auth0_acul_config.md) - Configure Advanced Customizations for Universal Login screens.
- [auth0 acul dev](auth0_acul_dev.md) - Start development mode for ACUL project with automatic building and asset watching.
- [auth0 acul init](auth0_acul_init.md) - Generate a new ACUL project from a template
- [auth0 acul screen](auth0_acul_screen.md) - Manage individual screens for Advanced Customizations for Universal Login.

2 changes: 1 addition & 1 deletion docs/auth0_acul_config_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ auth0 acul config list [flags]

```
--fields string Comma-separated list of fields to include or exclude in the result (based on value provided for include_fields)
--include-fields Whether specified fields are to be included (default: true) or excluded (false). (default true)
--include-fields Whether specified fields are to be included (true) or excluded (false). (default true)
--include-totals Return results inside an object that contains the total result count (true) or as a direct array of results (false).
--json Output in json format.
--json-compact Output in compact json format.
Expand Down
78 changes: 78 additions & 0 deletions docs/auth0_acul_dev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
layout: default
parent: auth0 acul
has_toc: false
---
# auth0 acul dev

Start development mode for an ACUL project. This command:
- Runs 'npm run build' to build the project initially
- Watches the dist directory for asset changes
- Automatically patches screen assets when new builds are created
- Supports both single screen development and all screens

The project directory must contain package.json with a build script.

DEV MODE (default):
- Requires: --port flag for the local development server
- Runs your build process (e.g., npm run screen <name>) for HMR development

CONNECTED MODE (--connected):
- Requires: --screen flag to specify screens to patch in Auth0 tenant
- Updates advance rendering settings of the chosen screens in your Auth0 tenant
- Runs initial build and expects you to host assets locally
- Optionally runs build:watch in the background for continuous asset updates
- Watches and patches assets automatically when changes are detected

⚠️ Connected mode should only be used on stage/dev tenants, not production!

## Usage
```
auth0 acul dev [flags]
```

## Examples

```
# Dev mode
auth0 acul dev --port 3000
auth0 acul dev -p 8080 --dir ./my_project

# Connected mode
auth0 acul dev --connected
auth0 acul dev --connected --debug --dir ./my_project
auth0 acul dev --connected --screen all
auth0 acul dev -c --dir ./my_project
auth0 acul dev --connected --screen login-id
auth0 acul dev -c -s login-id,signup
```


## Flags

```
-c, --connected Enable connected mode to update advance rendering settings of Auth0 tenant. Use only on stage/dev tenants.
-d, --dir string Path to the ACUL project directory (must contain package.json).
-p, --port string Port for the local development server.
-s, --screen strings Specific screens to develop and watch.
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 acul config](auth0_acul_config.md) - Configure Advanced Customizations for Universal Login screens.
- [auth0 acul dev](auth0_acul_dev.md) - Start development mode for ACUL project with automatic building and asset watching.
- [auth0 acul init](auth0_acul_init.md) - Generate a new ACUL project from a template
- [auth0 acul screen](auth0_acul_screen.md) - Manage individual screens for Advanced Customizations for Universal Login.


1 change: 1 addition & 0 deletions docs/auth0_acul_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ auth0 acul init [flags]
## Related Commands

- [auth0 acul config](auth0_acul_config.md) - Configure Advanced Customizations for Universal Login screens.
- [auth0 acul dev](auth0_acul_dev.md) - Start development mode for ACUL project with automatic building and asset watching.
- [auth0 acul init](auth0_acul_init.md) - Generate a new ACUL project from a template
- [auth0 acul screen](auth0_acul_screen.md) - Manage individual screens for Advanced Customizations for Universal Login.

Expand Down
5 changes: 5 additions & 0 deletions internal/auth0/branding_prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ type PromptAPI interface {
// See: https://auth0.com/docs/api/management/v2/prompts/patch-rendering
UpdateRendering(ctx context.Context, prompt management.PromptType, screen management.ScreenName, c *management.PromptRendering, opts ...management.RequestOption) error

// BulkUpdateRendering updates multiple rendering settings in a single operation.
//
// See: https://auth0.com/docs/api/management/v2/prompts/patch-bulk-rendering
BulkUpdateRendering(ctx context.Context, c *management.PromptRenderingBulkUpdate, opts ...management.RequestOption) error

// ListRendering retrieves the settings for the ACUL.
//
ListRendering(ctx context.Context, opts ...management.RequestOption) (c *management.PromptRenderingList, err error)
Expand Down
19 changes: 19 additions & 0 deletions internal/auth0/mock/branding_prompt_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions internal/cli/acul.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func aculCmd(cli *cli) *cobra.Command {
cmd.AddCommand(aculConfigureCmd(cli))
cmd.AddCommand(aculInitCmd(cli))
cmd.AddCommand(aculScreenCmd(cli))
cmd.AddCommand(aculDevCmd(cli))

return cmd
}
Expand Down
Loading
Loading