Issues setting up OTP code signin and signup flows
I'm trying to create a user flow where an OTP code is sent to users email and then verified to sign them in.
Following supabases documentation I am doing following
I double verified that token I am sending is exact one as I got in email, yet I keep getting that auth error.
Following supabases documentation I am doing following
- I changed from using link in "Magic Link" email template to
{{ .Token }} - I tried using both
type: 'magiclink'andtype: 'signup'in code below - My email provider settings are set to
60000for expiry seconds and6for password length. Email confirmation is set to be enabled.
I double verified that token I am sending is exact one as I got in email, yet I keep getting that auth error.