Enabling Email Verification
First, configure your email provider (see Email Configuration):How It Works
- When a user signs up, a verification token is generated and stored
- An email with a verification link is sent to the user’s email address
- The link contains the token:
https://yourapp.com/api/_internal/auth/verify-email?token=... - When clicked, the token is validated and the user’s email is marked as verified
- The user is redirected to your configured
redirectUrl
Custom Verification Templates
You can customize the verification email template:Manual Verification
You can also manually complete email verification from the client using a verification token:Resending Verification Email
If the user did not receive the original verification email, you can resend it. The email is only sent when the address is registered and not yet verified — a generic response is always returned regardless, to avoid leaking account information. This endpoint enforces the following limits via theverification rate limit bucket:
- 1 per 60 seconds — per user, a new verification email cannot be sent until 60 seconds have passed since the previous one.
- 10 per day — per user, a maximum of 10 verification emails can be sent within a 24-hour window.
- IP-based rate limiting — repeated calls from the same IP are also rate-limited.