Supabase Verify OTP
Verify OTP codes through the gateway so the client only talks to one auth surface. The client sends the OTP code and the email or phone number to the verify
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