How can you send an OneTimePassword to an email? #43
-
In Javascript i would do this: -> then i get an email with an onetimepassword like "123456"
if i do in kotlin
i get How can i specify the Type? this works then btw: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Just tested this: client.gotrue.sendOtpTo(Email, false) {
email = "[email protected]"
} And got an email. Which platform are you using? |
Beta Was this translation helpful? Give feedback.
-
Hi Jan, This is my Examplecode:
and i get
|
Beta Was this translation helpful? Give feedback.
-
i've uploaded this testproject. It's an Widget-Only-Project |
Beta Was this translation helpful? Give feedback.
-
Found the problem, you are re-assigning your supabaseClient.gotrue.sendOtpTo(Email, false) {
this.email = "[email protected]"
} To actually set the email for the OTP |
Beta Was this translation helpful? Give feedback.
-
oh yeah thank you!! that's it! :) |
Beta Was this translation helpful? Give feedback.
Found the problem, you are re-assigning your
email
variable. You would have to use this:To actually set the email for the OTP