Home

Authentication

Email Templates

You can customize the email messages used for the authentication flows. You can edit the following email templates:

  • Confirm signup
  • Reset Password
email templates

Terminology#

The templating system provides the following variables for use:

NameDescription
{{ .state }}Contains a 6-digit One-Time-Password (OTP).
{{ .email }}The user's email address.
{{ .redirectUrl }}Contains the redirect URL to confirm the email address to a new account.

Editing email templates#

Edit your email templates on the Email Templates page. Below is an example for a verification of a sign up:


_10
Subject: Confirm Reauthentication
_10
_10
Body:
_10
<h2>Confirm reauthentication</h2>
_10
<p>Enter the code: {{ .state }}</p>