When a user uses Email/Password to register I then have a problem with
app.get("/api/getcharacters", verifySession(), async (req, res) => {});
verfiySession throws
{"message":"invalid claim","claimValidationErrors":[{"id":"st-ev","reason":{"message":"wrong value","expectedValue":true,"actualValue":false}}]}
When I use sign in with google this doesn't happen. How can I fix it? Thanks!
r
rp_st
05/05/2023, 10:19 AM
hey @Gamer this means that you need to verify the user's email before they can access your APIs.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).