With this resource, you can manage custom text on your Auth0 prompts. You can read more about custom texts here.
resource "auth0_prompt_custom_text" "example" {
prompt = "login"
language = "en"
body = jsonencode(
{
"login" : {
"alertListTitle" : "Alerts",
"buttonText" : "Continue",
"description" : "Login to",
"editEmailText" : "Edit",
"emailPlaceholder" : "Email address",
"federatedConnectionButtonText" : "Continue with $${connectionName}",
"footerLinkText" : "Sign up",
"footerText" : "Don't have an account?",
"forgotPasswordText" : "Forgot password?",
"invitationDescription" : "Log in to accept $${inviterName}'s invitation to join $${companyName} on $${clientName}.",
"invitationTitle" : "You've Been Invited!",
"logoAltText" : "$${companyName}",
"pageTitle" : "Log in | $${clientName}",
"passwordPlaceholder" : "Password",
"separatorText" : "Or",
"signupActionLinkText" : "$${footerLinkText}",
"signupActionText" : "$${footerText}",
"title" : "Welcome",
"usernamePlaceholder" : "Username or email address"
}
}
)
}
body
(String) JSON containing the custom texts. You can check the options for each prompt here.language
(String) Language of the custom text. Options include: ar
, bg
, bs
, ca-ES
, cs
, cy
, da
, de
, el
, en
, es
, et
, eu-ES
, fi
, fr
, fr-CA
, fr-FR
, gl-ES
, he
, hi
, hr
, hu
, id
, is
, it
, ja
, ko
, lt
, lv
, nb
, nl
, nn
, no
, pl
, pt
, pt-BR
, pt-PT
, ro
, ru
, sk
, sl
, sr
, sv
, th
, tr
, uk
, vi
, zh-CN
, zh-TW
.prompt
(String) The term prompt
is used to refer to a specific step in the login flow. Options include: common
, consent
, device-flow
, email-otp-challenge
, email-verification
, invitation
, login
, login-id
, login-password
, login-passwordless
, login-email-verification
, logout
, mfa
, mfa-email
, mfa-otp
, mfa-phone
, mfa-push
, mfa-recovery-code
, mfa-sms
, mfa-voice
, mfa-webauthn
, organizations
, reset-password
, signup
, signup-id
, signup-password
, status
.id
(String) The ID of this resource.Import is supported using the following syntax:
# This resource can be imported by specifying the
# prompt and language separated by "::" (note the double colon)
# <prompt>::<language>
#
# Example
terraform import auth0_prompt_custom_text.example "login::en"