After enabling email verification (mode: 'REQUIRED') i started getting INVALID_CLAIMS claims error with payload: {
id: 'st-ev',
reason: { message: 'wrong value', expectedValue: true, actualValue: false }
}
any suggestions please?
art1c0
02/28/2023, 12:46 PM
at the same time i could resigter a user and no verification was required
r
rp_st
02/28/2023, 12:46 PM
hey @art1c0 see our docs on email verification.
But essentially, you need to call the send email verification API to allow access to the user to your application's APIs.
rp_st
02/28/2023, 12:47 PM
so whilst signing up / in will create a session, the claims in the session will reflect that the email is not verified - which is checked when using verifySession / getSession in your APis
a
art1c0
02/28/2023, 12:53 PM
thank you so much! in fact i just forgot to add recipe on the front end