Im pretty sure recipes are required?
I just have the default setup, login works but I do not see to get any verification links
r
rp_st
02/17/2023, 4:50 PM
hey @pitchash
So the required mode essentially makes it so that using the getSession / verifySession on the backend checks the claims in the session to make sure that the email is verified.
rp_st
02/17/2023, 4:51 PM
To actually send the email verification email, you will need to call the API from the frontend - see our docs for this in the "your own UI section"
p
pitchash
02/17/2023, 4:52 PM
ok, i wanted to test with curl..
r
rp_st
02/17/2023, 4:52 PM
See our API spec here: supertokens.com/docs/fdi
rp_st
02/17/2023, 4:53 PM
you can add the cookie access token in the request header when calling the email verification API
p
pitchash
02/17/2023, 4:57 PM
how can we change the error message so its more friendly?
r
rp_st
02/17/2023, 5:01 PM
I think the backend has an onInvalidClaim errorHandler in session.init that you can provide.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).