Theme Template Variables
On this page
Template variables are provided to allow intelligent customization of theme templates. You can use Freemarker to display, hide, or otherwise logically modify what your end users sees based on these values.
Each template has different variables that are available to it. These variables can be used in the template to help with rendering the HTML. There are also a couple of common variables that are available in all of the pages. The common variables and the page specific variables are all listed below.
When the variable is FusionAuth specific, such as the tenant or application, the fields of the variable are the same as the JSON object described in the Retrieve section of the corresponding API documentation.
By default FusionAuth will provide HTML escaping on all values rendered in HTML, this protects you from script injection attacks. If you find a value that is being incorrectly escaped you may need to utilize the FreeMarker built in for no-escape ?no_esc.
Template variables have access to sensitive configuration data including tenant settings, JWT configuration, SMTP credentials, and user information. Avoid logging or exposing sensitive variables in custom themes.
Common Variables#
applicationThe application resolved by the provided client_id provided on the request. If the request was made without a client_id then this variable will be undefined. Ensure you reference it using a null safe strategy if you are using some of the themed pages without a client_id.
See the Application API for details on this object.
client_idThe OAuth v2.0 client_id parameter. This is synonymous with FusionAuth's Application Id.
currentUserWhen there is an active SSO session, this variable will contain the currently logged in user. When an SSO session does not yet exist, this variable will be null. If the user has not checked the Keep me signed in option, there is no SSO session and this variable will be null.
See the User API for details on this object.
errorMessagesA list of error messages that were generated during the processing of the request.
fieldMessagesA map of field messages (usually errors) that were generated during the processing of the request. The key into the map is the name of the form field and the value is a list that contains the errors for that form field.
localeThe locale used to localize messages.
You can find the JavaDoc for this object available here: https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html
requestThe HttpServletRequest object that is part of the Java Servlet specification.
You can find the JavaDoc for this object available here: https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html
tenantThe tenant that has been resolved for this template. This value has either been specified on the request by providing the tenantId request parameter or it has been resolved by other request parameters such as the client_id.
If you need to customize the look and feel for different tenants but desire to use the same theme to lower maintenance, store values in tenant.data. For example, you could set tenant.data.customElements.buttonText and tenant.data.customElements.buttonColor, then retrieve values off these fields in the theme templates.
See the Tenant API for details on this object.
tenantIdThe unique Tenant identifier, this is equivalent to tenant.id.
themeThe theme that has been resolved for this template. This could be resolved based on the tenant or the application.
See the Themes API for details on this object.
themeIdThe unique Theme identifier, this is equivalent to theme.id.
Template Specific Variables#
In addition to the common variables documented above, each template may have additional variables available to that only make sense in the context of this template. For example, the OAuth Authorize page (the login page) can access the loginId template variable, but this variable would make no sense on the email verification template.
Account edit
Variables
fieldsThe User fields to display in the form. Each key maps to form fields by section within a Self-Service User form.
passwordSetA boolean that indicates if the user has a password set.
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
userThe User object corresponding to the authenticated user.
Account index
Variables
formConfiguredA boolean that indicates if a Self-Service User form has been configured for this application.
multiFactorAvailableA boolean that indicates if any multi-factor authentication methods have been enabled on the tenant.
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
userThe User object corresponding to the authenticated user.
webauthnAvailableA boolean that indicates if WebAuthn has been enabled on the tenant.
Account two-factor disable
Variables
emailThe email address you are attempting to disable, this will be available when the method is email.
methodThe two-factor method you are disabling. The possible values are:
authenticatoremailsms
methodIdThe actual Id of the two-factor method you are disabling.
mobilePhoneThe mobile phone you are attempting to disable, this will be available when the method is sms.
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
userThe User object corresponding to the authenticated user.
Account two-factor edit
Variables
availableMethodsThe two-factor methods that are available to be configured.
emailThe email address if the method value is email.
methodThe two-factor method. The possible values are:
authenticatoremailsms
mobilePhoneThe mobile phone if the method is sms.
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
secretA Base64 encoded secret for the authenticator method.
secretBase32EncodedA Base32 encoded form of the provided secret for the authenticator method.
userThe User object corresponding to the authenticated user.
Account two-factor enable
Variables
availableMethodsThe two-factor methods that are available to be configured.
emailThe email address if the method value is email.
methodThe two-factor method. The possible values are:
authenticatoremailsms
mobilePhoneThe mobile phone if the method is sms.
recoveryCodesThe recovery codes when a user configured multi-factor authentication for the first time. This will be available after a method has been successfully enabled and this template is rendered a second time. If you already have one method enabled, the recovery codes will not be displayed.
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
secretA Base64 encoded secret for the authenticator method.
secretBase32EncodedA Base32 encoded form of the provided secret for the authenticator method.
userThe User object corresponding to the authenticated user.
Account two-factor index
Variables
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
userThe User object corresponding to the authenticated user.
Account add WebAuthn passkey
Variables
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
userThe User object corresponding to the authenticated user.
Account delete WebAuthn passkey
Variables
credentialThe WebAuthn passkey the user is deleting. See the WebAuthn API for details on this object.
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
Account WebAuthn index
Variables
redirectURIThe URL back to the application that referred the user into the account pages. FusionAuth resolves this from the redirect_uri request parameter, falling back to the Referer header when the user navigated directly from your application. This variable will be undefined when neither is available, or when the user arrived from another FusionAuth page, so reference it using a null safe strategy. Account pages share this value using the redirect_uri request parameter.
webAuthnCredentialsThe list of registered WebAuthn passkeys for the current user. See the WebAuthn API for details on this object.
Confirmation required
Variables
confirmationRequiredActionURIThe URI to return to once confirmation has been provided.
confirmationRequiredReasonThe reason the user is being prompted for confirmation.
Email verification complete
Variables
No template specific variables.
Email verification re-sent
Variables
emailThe email address that requested to receive a new email verification request.
Email verification required
Variables
allowEmailChangeWhen true, an additional form is displayed to allow the user to update their email address. This is intended to assist the user if they mis-typed their email address previously. This occurs when Allow email change when gated is enabled under email verification settings on the Tenant.
collectVerificationCodeWhen true, a form input is displayed to allow a user to enter the verification code. This occurs when Verification strategy is set to FormField under email verification settings on the Tenant.
emailThe current value of the user's email address. This may be useful to indicate to the user which email address was sent a verification code.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
verificationIdThe verification Id that was included on as a URL parameter. This is the high entropy value that will be paired with the low entropy one time code to complete email verification.
Email verification
Variables
postMethodDefaults to true on this page.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
verificationIdThe verification Id that was included on as a URL parameter but was invalid. This page does a redirect if the verificationId is valid.
Index
Variables
No template specific variables.
OAuth authorize
Variables
bootStrapWebauthnEnabledA boolean that indicates if the WebAuthn bootstrap workflow is enabled for the current application.
code_challengeThe OAuth v2.0 code_challenge parameter.
code_challenge_methodThe OAuth v2.0 code_challenge_method parameter used in conjunction with PKCE. Can be either plain or S256.
devicePendingIdPLinkThe PendingIdpLink that is generated when using the device OAuth flow. This object provides information about the current state of the user and the identity provider prior to completing the link. This is available when linking or registering a device ( i.e. Playstation or XBox).
devicePendingIdPLink.displayName A human readable name for this link to help you identify this link. This value will generally be an email address, or username.
devicePendingIdPLink.email The email address of the FusionAuth user being linked to the identity provider.
devicePendingIdPLink.identityProviderLinks See the Link API for details on this object.
devicePendingIdPLink.identityProviderName The name of the identity provider that is being linked to.
devicePendingIdPLink.identityProviderType The type of identity provider that is being linked to.
devicePendingIdPLink.identityProviderUserId The Id for the User that is provided by the identity provider.
devicePendingIdPLink.linkLimitExceeded A boolean that indicates if a user has exceeded the maximum number of links allowed.
devicePendingIdPLink.user The FusionAuth user that is linked to the identity provider.
devicePendingIdPLink.username The username of the FusionAuth user being linked to the identity provider.
hasDomainBasedIdentityProvidersA boolean that indicates if there are domain-based identity providers configured. These identity providers use the user's email address to determine if an external IdP should be used to log the user in.
identityProvidersA map of the configured identity providers for the Application the user is logging into. The key into the map is the type of the identity provider (i.e. Facebook or OpenIDConnect). The value is a list of all of the configured identity providers for that type.
+
NOTE: This map does not contain any "domain-based" identity providers since those are handled differently using just the Email input field to start and then possibly redirecting the browser to the external IdP login page.
loginIdThe value from the loginId form field. This is the email, phone number, or username of the user attempting to log into FusionAuth.
metaDataMetadata on when the JWT Refresh Token was created
nonceThe OpenID Connect nonce request parameter.
passwordlessEnabledA boolean that controls whether or not to to utilize a passwordless flow.
pendingIdpLinkThis is the unique value when creating a link between a unique UUID returned by the IdP and a new or existing FusionAuth user.
pendingIdpLink.displayName A human readable name for this link to help you identify this link. This value will generally be an email address, or username.
pendingIdpLink.email The email address of the FusionAuth user being linked to the identity provider.
pendingIdpLink.identityProviderLinks See the Link API for details on this object.
pendingIdpLink.identityProviderName The name of the identity provider that is being linked to.
pendingIdpLink.identityProviderType The type of identity provider that is being linked to.
pendingIdpLink.identityProviderUserId The Id for the User that is provided by the identity provider.
pendingIdpLink.linkLimitExceeded A boolean that indicates if a user has exceeded the maximum number of links allowed.
pendingIdpLink.user The FusionAuth user that is linked to the identity provider.
pendingIdpLink.username The username of the FusionAuth user being linked to the identity provider.
redirect_uriThe OAuth v2.0 redirect_uri parameter. This is the URI that FusionAuth will redirect the user to once they have successfully logged in.
rememberDeviceThis value is used to record if ths user would like to have their device remembered on the next login.
response_typeThe OAuth v2.0 response_type parameter.
scopeThe OAuth v2.0 scope parameter.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
showPasswordFieldA boolean that controls whether the password field is shown if there are domain-based identity providers. If there are domain based identity providers and the user types in an email address that is not managed by the identity provider, FusionAuth will then re-render this template with this variable set to true. This will indicate that the password field should be shown so that the user can complete their login.
If you need an example of this behavior, check out the login page at https://www.pivotaltracker.com/signin.
showWebAuthnReauthLinkA boolean that indicates if the WebAuthn re-authentication workflow is enabled for the current application, and there are re-authentication passkeys available on the current device.
stateThe OAuth v2.0 state parameter.
timezoneThe timezone that the user is in. This is normally guessed by the timezone JavaScript library (or something similar) and then stored in a hidden input field on the login form.
user_codeThe user code provided by the user in the form, or if the user_code was provided on the URL using a request parameter such as ?user_code=123 this value will be provided in the template using this variable.
versionThe version.
OAuth authorized not registered
Variables
No template specific variables.
OAuth child registration not allowed
Variables
parentEmailThe parent's email address provided in the input field of the form.
OAuth child registration not allowed complete
Variables
No template specific variables.
OAuth complete registration
Variables
fieldsThe User fields to display in the form. Each key maps to form fields by section within a Self-Service User form.
passwordSetA boolean that indicates if the user has a password set.
step(for Advanced Registration Forms only) The step in the registration process according to the form in use. The value will be 1 for the first step, 2 for the second step, and so on.
totalSteps(for Advanced Registration Forms only) The total number of steps in the registration form.
OAuth consent prompt
Variables
actionThe action the user selected on the consent prompt. The value should be allow if the user made consent selections and wants to continue or cancel if they have decided not to continue.
optionalScopesThe list of OAuth scopes on the request with optional user consent. See the Scope API for details on this object.
requiredScopesThe list of OAuth scopes on the request that require user consent. See the Scope API for details on this object.
scopeConsentsA map of OAuth scope consent choices made by the user. The key into the map is the OAuth scope name. The value should be true if the user has consented to the scope or false if they have declined.
unknownScopesThe list of unknown OAuth scope names on the request if the application is configured to Allow unknown scopes.
OAuth device
Variables
devicePendingIdPLinkThe PendingIdpLink that is generated when using the device OAuth flow. This object provides information about the current state of the user and the identity provider prior to completing the link. This is available when linking or registering a device ( i.e. Playstation or XBox).
devicePendingIdPLink.displayName A human readable name for this link to help you identify this link. This value will generally be an email address, or username.
devicePendingIdPLink.email The email address of the FusionAuth user being linked to the identity provider.
devicePendingIdPLink.identityProviderLinks See the Link API for details on this object.
devicePendingIdPLink.identityProviderName The name of the identity provider that is being linked to.
devicePendingIdPLink.identityProviderType The type of identity provider that is being linked to.
devicePendingIdPLink.identityProviderUserId The Id for the User that is provided by the identity provider.
devicePendingIdPLink.linkLimitExceeded A boolean that indicates if a user has exceeded the maximum number of links allowed.
devicePendingIdPLink.user The FusionAuth user that is linked to the identity provider.
devicePendingIdPLink.username The username of the FusionAuth user being linked to the identity provider.
interactive_user_codeThe user code provided by the user in the form, or if the user_code was provided on the URL using a request parameter such as ?user_code=123 this value will be provided in the template using this variable.
userCodeLengthThe length of the interactive user code. This value may be used to build the correct number of input fields for the interactive code.
OAuth device complete
Variables
completedLinksAn optional parameter that may be present if the completion of this device request resulted in one or more Identity Provider links being established to this user.
+
This variable may be helpful if you wish to communicate to the user which links have been completed.
OAuth error
Variables
oauthJSONErrorThe OAuth error JSON that could be helpful for developers while debugging.
OAuth logout
Variables
allLogoutURLsA set of URLs associated with all of the applications in the tenant to log out the user.
redirectURLThe URL to be redirected to after the front-channel logout occur.
registeredLogoutURLsA set of URLs associated with all of the applications the user is registered for to log out the user.
OAuth passwordless
Variables
redirect_uriThe OAuth v2.0 redirect_uri parameter. This is the URI that FusionAuth will redirect the user to once they have successfully logged in.
response_typeThe OAuth v2.0 response_type parameter.
scopeThe OAuth v2.0 scope parameter.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
stateThe OAuth v2.0 state parameter.
timezoneThe timezone that the user is in. This is normally guessed by the timezone JavaScript library (or something similar) and then stored in a hidden input field on the login form.
OAuth register
Variables
collectBirthDateWhether or not to collect a birth date for a Consent workflow.
hideBirthDateWhether or not to render a hidden field for passing along the birthdate in the form.
parentEmailRequiredWhether or not a parent's email address is required for a Consent Workflow.
passwordValidationRulesAn object that contains the password validation rules. The object fields are defined in keys to this object, as defined below.
passwordValidationRules.maxLength The maximum length of a password.
passwordValidationRules.minLength The minimum length of a password.
passwordValidationRules.rememberPreviousPasswords.count The number of previous passwords the user is not allowed to re-use.
passwordValidationRules.requireMixedCase Whether or not the user must use upper and lower-cased letter.
passwordValidationRules.requireNonAlpha Whether or not the user must use at least one non-alphabetic character in their password.
passwordValidationRules.requireNumber Whether or not the user must use at least one numeric character in their password.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
OAuth start IdP link
Variables
devicePendingIdPLinkThe PendingIdpLink that is generated when using the device OAuth flow. This object provides information about the current state of the user and the identity provider prior to completing the link. This is available when linking or registering a device ( i.e. Playstation or XBox).
devicePendingIdPLink.displayName A human readable name for this link to help you identify this link. This value will generally be an email address, or username.
devicePendingIdPLink.email The email address of the FusionAuth user being linked to the identity provider.
devicePendingIdPLink.identityProviderLinks See the Link API for details on this object.
devicePendingIdPLink.identityProviderName The name of the identity provider that is being linked to.
devicePendingIdPLink.identityProviderType The type of identity provider that is being linked to.
devicePendingIdPLink.identityProviderUserId The Id for the User that is provided by the identity provider.
devicePendingIdPLink.linkLimitExceeded A boolean that indicates if a user has exceeded the maximum number of links allowed.
devicePendingIdPLink.user The FusionAuth user that is linked to the identity provider.
devicePendingIdPLink.username The username of the FusionAuth user being linked to the identity provider.
pendingIdpLinkThis is the unique value when creating a link between a unique UUID returned by the IdP and a new or existing FusionAuth user.
pendingIdpLink.displayName A human readable name for this link to help you identify this link. This value will generally be an email address, or username.
pendingIdpLink.email The email address of the FusionAuth user being linked to the identity provider.
pendingIdpLink.identityProviderLinks See the Link API for details on this object.
pendingIdpLink.identityProviderName The name of the identity provider that is being linked to.
pendingIdpLink.identityProviderType The type of identity provider that is being linked to.
pendingIdpLink.identityProviderUserId The Id for the User that is provided by the identity provider.
pendingIdpLink.linkLimitExceeded A boolean that indicates if a user has exceeded the maximum number of links allowed.
pendingIdpLink.user The FusionAuth user that is linked to the identity provider.
pendingIdpLink.username The username of the FusionAuth user being linked to the identity provider.
registrationEnabledA boolean that indicates if the application is configured for self registration.
OAuth two-factor
Variables
codeThe value of the code form field on the page. This will be available only after the user has submitted the form.
methodThe currently selected two-factor method. This may be helpful if you want to communicate to the end user their currently selected method.
+
For example, method.method will indicate the type of method, authenticator, email or sms. Based upon the method, the method.email or method.mobilePhone will indicate which transport is being used to send the user a code.
methodIdThe method Id. This Id, if defined, will represent the currently selected method, or last used method.
pushEnabledWhether or not FusionAuth has pushed (SMS) enabled for two-factor.
Removed in 1.26.0
pushPreferredWhether or not the user prefers push (SMS) for two-factor.
Removed in 1.26.0
redirect_uriThe OAuth v2.0 redirect_uri parameter. This is the URI that FusionAuth will redirect the user to once they have successfully logged in.
resendCodeWhether or not the user wants the code to be resent to their phone (valid for push two-factor).
Removed in 1.26.0
response_typeThe OAuth v2.0 response_type parameter.
scopeThe OAuth v2.0 scope parameter.
showResendOrSelectMethodWhether or not to display a link to allow the user to select a different method or resend the code. This value will be true when more than one option exist for the user to select, or the available method is email or sms which will allow for a resend option.
stateThe OAuth v2.0 state parameter.
timezoneThe timezone that the user is in. This is normally guessed by the timezone JavaScript library (or something similar) and then stored in a hidden input field on the login form.
trustComputerThe value of the "Trust this computer" form field. This will be available only after the user has submitted the form. Otherwise, it defaults to false. When the user checks this box, a cookie is dropped so that two-factor authentication can be skipped on this computer.
twoFactorIdThe unique Id of the current multi-factor authentication attempt.
userCanReceivePushWhether or not the user is capable of receiving push notifications for two-factor. This means that the user has a mobile phone number.
Removed in 1.26.0
OAuth two-factor enable
Variables
availableMethodsThe two-factor methods that are available to be configured.
codeReturned when twoFactorId is provided to complete Two Factor login.
emailThe email address if the method value is email.
methodThe two-factor method. The possible values are:
authenticatoremailsms
mobilePhoneThe mobile phone if the method is sms.
secretA base64 encoded version of the secret that can be used to build a QR code when using the authenticator method.
secretBase32EncodedA base32 encoded version of the secret that can be used to build a QR code when using the authenticator method.
OAuth two-factor enable complete
Variables
recoveryCodesThe recovery codes when a user configured multi-factor authentication for the first time. This will be available after a method has been successfully enabled and this template is rendered a second time. If you already have a method enabled, the recovery codes will not be displayed.
OAuth two-factor methods
Variables
availableMethodsMapA map of two-factor methods that the user has configured. The key into the map is the unique methodId. The value is the two-factor method.
methodIdThe method Id. This Id, if defined, will represent the currently selected method, or last used method.
recoverCodesAvailableThe total number of recovery codes that the user has available to use.
timezoneThe timezone that the user is in. This is normally guessed by the timezone JavaScript library (or something similar) and then stored in a hidden input field on the login form.
twoFactorIdThe unique Id of the current multi-factor authentication attempt.
OAuth wait
Variables
codeThe FusionAuth temporary code used to complete this external authentication request.
OAuth WebAuthn
Variables
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
OAuth WebAuthn Reauth
Variables
webAuthnCredentialsA list of the WebAuthn passkeys available to complete re-authentication on the current device. See the WebAuthn API for details on this object.
OAuth WebAuthn Reauth Enable
Variables
webAuthnCredentialsA list of the current user's registered WebAuthn passkeys that may be suitable for use in the re-authentication workflow. See the WebAuthn API for details on this object.
OAuth Change password form
Variables
changePasswordIdThe Id that was sent to the user (usually via email or SMS) that allows them to change their password. Normally, this Id is included in the template for the forgot password workflow and when the user clicks the link in the message, they are taken to this page with this parameter on the URL.
passwordValidationRulesAn object that contains the password validation rules. The object fields are defined in keys to this object, as defined below.
passwordValidationRules.maxLength The maximum length of a password.
passwordValidationRules.minLength The minimum length of a password.
passwordValidationRules.rememberPreviousPasswords.count The number of previous passwords the user is not allowed to re-use.
passwordValidationRules.requireMixedCase Whether or not the user must use upper and lower-cased letter.
passwordValidationRules.requireNonAlpha Whether or not the user must use at least one non-alphabetic character in their password.
passwordValidationRules.requireNumber Whether or not the user must use at least one numeric character in their password.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
OAuth password complete
Variables
No template specific variables.
Forgot password
Variables
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
Forgot password sent
Variables
emailThe email address that requested to receive a change password request.
loginIdThe login Id that requested to receive a change password request.
Phone number verification complete
Variables
No template specific variables.
Phone number verification re-sent
Variables
phoneNumberThe phone number that requested to receive a new verification request message.
Phone number verification required
Variables
collectVerificationCodeWhen true, a form input is displayed to allow a user to enter the verification code. This occurs when Verification strategy is set to FormField under identities/phone verification settings on the Tenant.
phoneNumberThe current value of the user's phone number. This may be useful to indicate to the user which phone number was sent a verification code.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
verificationIdThe verification Id that was included on as a URL parameter. This is the high entropy value that will be paired with the low entropy one time code to complete phone number verification.
Phone number verification
Variables
postMethodDefaults to true on this page.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
verificationIdThe verification Id that was included on as a URL parameter but was invalid. This page does a redirect if the verificationId is valid.
Verify registration complete
Variables
No template specific variables.
Verify registration re-sent
Variables
applicationIdThe Id of the application that the user is verifying their email for and needs the email to be resent.
emailThe email address that requested to receive a new registration verification request.
Verify registration required
Variables
collectVerificationCodeWhen true, a form input is displayed to allow a user to enter the verification code. This occurs when Verification strategy is set to FormField under registration verification settings on the Application.
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
verificationIdThe verification Id that was included on as a URL parameter. This is the high entropy value that will be paired with the low entropy one time code to complete email verification.
Verify registration
Variables
showCaptchaA boolean that controls whether or not to include captcha scripts and show the captcha challenge (or message for invisible captcha).
verificationIdThe verification id that was included on as a URL parameter but was invalid. This page does a redirect if the verificationId is valid.
SAML logout
Variables
allLogoutURLsA set of URLs associated with all of the applications in the tenant to log out the user.
registeredLogoutURLsA set of URLs associated with all of the applications the user is registered for to log out the user.
Unauthorized
Variables
causeA string that defines why the user has been redirected to this page.
incidentIdA string that defines the Id of each security incident generated by the Advanced Threat Detection suite.
Related
Learn about the APIs for creating, retrieving, updating, and deleting hosted login page themes.
Learn about the Freemarker macros FusionAuth provides to help with theming.
Detailed documentation for integrating Tailwind CSS in FusionAuth.
Learn about customizing the appearance of the FusionAuth hosted login pages.