Interface: EmailFlowConfig
Configuration for an email-based auth flow (verification or password reset).
Properties
clientRoute
clientRoute:
string
Name of the route that handles the link sent in the email
(e.g. "EmailVerificationRoute" or "PasswordResetRoute").
The route must be defined in App.parts with the route constructor.
getEmailContentFn?
optionalgetEmailContentFn?:Reference<AnyFunction>
Function that returns the email content (subject, html, text) Wasp sends
for this flow. Verification email functions receive
{ verificationLink }, and password reset email functions receive
{ passwordResetLink }. If omitted, Wasp uses a built-in default
template.