After enabling email verification (mode: 'REQUIRED...
# support-questions
a
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?
at the same time i could resigter a user and no verification was required
r
hey @artico 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.
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
thank you so much! in fact i just forgot to add recipe on the front end
2 Views