From 37bb8291a21117dbecacaa86ea0c1a1396fb3e75 Mon Sep 17 00:00:00 2001 From: Mandela Mitau <78897583+main-tech@users.noreply.github.com> Date: Mon, 24 Oct 2022 11:48:11 +0300 Subject: [PATCH] add the type property to the verifyOtp argument Solve 400 error code caused by missing type property in the verifyOtp argument --- apps/reference/docs/guides/auth/auth-twilio.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/reference/docs/guides/auth/auth-twilio.mdx b/apps/reference/docs/guides/auth/auth-twilio.mdx index 96abd4aa723..da56fc0947a 100644 --- a/apps/reference/docs/guides/auth/auth-twilio.mdx +++ b/apps/reference/docs/guides/auth/auth-twilio.mdx @@ -145,6 +145,7 @@ values={[ let { session, error } = await supabase.auth.verifyOTP({ phone: '+13334445555', token: '123456', + type:"sms" }) ```