Member-only story
Auth0 Universal Login Customisation Options | Part 2
In the first part of this series, we went through the no-code editor way of customising the Auth0 Universal Login, you can read it here:
In this post, we going to see how we can customise the Universal Login using Auth0 CLI. In Auth0 every step in Login flow, have a prompt which use a Page Template. Using Auth0 CLI you are able to customise these prompt by updating the Page Template.
To use customized page templates using Auth0 CLI, you must configure a Custom Domain for your tenant.
Auth0 CLI Installation
First you need to install the Auth0 CLI in your machine. Based on your OS, install the Auth0 CLI by following the below commands.
- Mac
Install via Homebrew:
brew tap auth0/auth0-cli && brew install auth0
- Windows
Install via Scoop:
scoop bucket add auth0 https://github.com/auth0/scoop-auth0-cli.git
scoop install auth0
- Linux
Install via cURL:
# Binary will be downloaded to "./auth0".
curl -sSfL https://raw.githubusercontent.com/auth0/auth0-cli/main/install.sh | sh -s -- -b .
# To be able to run the binary from any directory
# make sure you move it to a place in your $PATH
# sudo mv ./auth0 /usr/local/bin