| title | AuthConfig |
|---|---|
| description | AuthConfig Schema Reference |
| Property | Type | Required | Description |
|---|---|---|---|
| name | string |
✅ | Configuration name (snake_case) |
| label | string |
✅ | Display label |
| driver | string |
optional | The underlying authentication implementation driver |
| strategies | Enum<'email_password' | 'magic_link' | 'oauth' | 'passkey' | 'otp' | 'anonymous'>[] |
✅ | Enabled authentication strategies |
| baseUrl | string |
✅ | Application base URL |
| secret | string |
✅ | Secret key for signing (min 32 chars) |
| emailPassword | object |
optional | |
| magicLink | object |
optional | |
| passkey | object |
optional | |
| oauth | object |
optional | |
| session | object |
optional | |
| rateLimit | object |
optional | |
| csrf | object |
optional | |
| accountLinking | object |
optional | |
| twoFactor | object |
optional | |
| organization | object |
optional | Organization/multi-tenant configuration |
| enterprise | object |
optional | |
| userFieldMapping | object |
optional | |
| database | object |
optional | |
| mapping | object |
optional | |
| plugins | object[] |
optional | |
| hooks | object |
optional | Authentication lifecycle hooks |
| security | object |
optional | Advanced security settings |
object |
optional | Email configuration | |
| ui | object |
optional | UI customization |
| active | boolean |
optional | Whether this provider is active |
| allowRegistration | boolean |
optional | Allow new user registration |