Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions acul_config/accept-invitation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"context_configuration": [],
"default_head_tags_disabled": false,
"filters": {},
"head_tags": [],
"rendering_mode": "standard",
"use_page_template": false
}
28 changes: 28 additions & 0 deletions config/accept-invitation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"tenant": "dev-s2xt6l5qvounptri",
"prompt": "invitation",
"screen": "accept-invitation",
"rendering_mode": "advanced",
"context_configuration": [
"screen.texts"
],
"default_head_tags_disabled": false,
"head_tags": [
{
"attributes": {
"async": true,
"defer": true,
"src": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.jss"
},
"tag": "script"
},
{
"attributes": {
"href": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js",
"rel": "stylesheet"
},
"tag": "link"
}
],
"use_page_template": false
}
2 changes: 2 additions & 0 deletions docs/auth0_acul.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
has_toc: false
has_children: true
---
# auth0 acul

Expand All @@ -9,4 +10,5 @@ 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 init](auth0_acul_init.md) - Generate a new ACUL project from a template

50 changes: 50 additions & 0 deletions docs/auth0_acul_init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
layout: default
parent: auth0 acul
has_toc: false
---
# auth0 acul init

Generate a new Advanced Customizations for Universal Login (ACUL) project from a template.
This command creates a new project with your choice of framework and authentication screens (login, signup, mfa, etc.).
The generated project includes all necessary configuration and boilerplate code to get started with ACUL customizations.

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

## Examples

```
auth0 acul init <app_name>
auth0 acul init my_acul_app
auth0 acul init my_acul_app --template react --screens login,signup
auth0 acul init my_acul_app -t react -s login,mfa,signup
```


## Flags

```
-s, --screens strings Comma-separated list of screens to include in your ACUL project.
-t, --template string Template framework to use for your ACUL project.
```


## 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 init](auth0_acul_init.md) - Generate a new ACUL project from a template


1 change: 1 addition & 0 deletions internal/cli/acul.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ func aculCmd(cli *cli) *cobra.Command {
}

cmd.AddCommand(aculConfigureCmd(cli))
cmd.AddCommand(aculInitCmd(cli))

return cmd
}
Expand Down
Loading
Loading