Supabase Email OTP
Use the email OTP integration when you want passwordless email auth behind one edge endpoint. The gateway sends a POST request to Supabase's GoTrue API with the
When to use this
Key concepts
Repo-grounded example
{
"authorizer": {
"type": "supabase",
"jwt_secret": "$env.SUPABASE_JWT_SECRET",
"issuer": "https://project.supabase.co/auth/v1",
"audience": "authenticated"
},
"paths": [
{
"method": "POST",
"path": "/api/v1/supabase/auth",
"integration": { "type": "supabase_passwordless_auth" }
},
{
"method": "POST",
"path": "/api/v1/supabase/verify",
"integration": { "type": "supabase_passwordless_verify" }
}
]
}Troubleshooting
Related docs
Last updated