This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
resource "auth0_branding" "my_brand" {
logo_url = "https://mycompany.org/logo.png"
colors {
primary = "#0059d6"
page_background = "#000000"
}
universal_login {
# Ensure that "{%- auth0:head -%}" and "{%- auth0:widget -%}"
# are present in the body.
body = file("universal_login_body.html")
}
}
colors
(Block List, Max: 1) Configuration settings for colors for branding. (see below for nested schema)favicon_url
(String) URL for the favicon.font
(Block List, Max: 1) Configuration settings to customize the font. (see below for nested schema)logo_url
(String) URL of logo for branding.universal_login
(Block List, Max: 1) Configuration settings for Universal Login. (see below for nested schema)id
(String) The ID of this resource.colors
Optional:
page_background
(String) Background color of login pages in hexadecimal.primary
(String) Primary button background color in hexadecimal.font
Optional:
url
(String) URL for the custom font.universal_login
Required:
body
(String) The html template for the New Universal Login Experience.Import is supported using the following syntax:
# As this is not a resource identifiable by an ID within the Auth0 Management API,
# branding can be imported using a random string.
#
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_branding.my_brand "22f4f21b-017a-319d-92e7-2291c1ca36c4"