Skip to main content
Module

x/supabase/mod.ts>GoTrueApi#verifyMobileOTP

An isomorphic Javascript client for Supabase.
Go to Latest
method GoTrueApi.prototype.verifyMobileOTP
Re-export
import { GoTrueApi } from "https://deno.land/x/supabase@1.3.1/mod.ts";

Send User supplied Mobile OTP to be verified

Parameters

phone: string

The user's phone number WITH international prefix

token: string

token that user was sent to their mobile phone

optional
options: { redirectTo?: string; } = [UNSUPPORTED]

A URL or mobile address to send the user to after they are confirmed.

Returns

Promise<{ data: Session | User | null; error: ApiError | null; }>