When a user uses Email/Password to register I then have a problem with app.get("/api/getcharacters"...
g
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
hey @Gamer this means that you need to verify the user's email before they can access your APIs.
g
That did it thanks!
6 Views