Skip to content

How can you send an OneTimePassword to an email? #43

Answered by jan-tennert
baststar asked this question in Q&A
Discussion options

You must be logged in to vote

Found the problem, you are re-assigning your email variable. You would have to use this:

supabaseClient.gotrue.sendOtpTo(Email, false) {
     this.email =  "test@email.com"
}

To actually set the email for the OTP

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by baststar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants