API Reference
AdditionalFields
The AdditionalFields
interface allows you to define custom fields for your authentication flow such as signup or user settings.
Usage
You can configure additionalFields
like this:
AdditionalField
Prop | Type | Default |
---|---|---|
description? | any | - |
instructions? | any | - |
label | ReactNode | - |
placeholder? | string | - |
required? | boolean | - |
type | FieldType | - |
validate? | (value: string) => Promise<boolean> | - |