I’m trying to enable public user registration in Directus but getting an error when users attempt to register. The error occurs specifically with the email verification URL configuration.
{
"errors": [{
"message": "Invalid payload. URL \"http://localhost:4040/api/auth/verification\" can't be used to verify registered users.",
"extensions": {
"reason": "URL \"http://localhost:4040/api/auth/verification\" can't be used to verify registered users",
"code": "INVALID_PAYLOAD"
}
}]
}
```
What I’ve Already Tried
-
Enabled public registration in Directus settings -
Configured domain in verification_url environment variable -
Set up email configuration with Resend SMTP -
Followed the official documentation for user registration setup