Hey guys, got an issue with react native. Basically, we configured nestjs backend with guidelines fo...
e
Hey guys, got an issue with react native. Basically, we configured nestjs backend with guidelines for this framework, and web version for react. For some protected api routes we use auth guard, and when making requests from website they work just fine, but in case with react native we get error like this: {"error": {"data": {"claimValidationErrors": [Array], "message": "invalid claim"}, "status": 403}} Could you please help us to resolve this issue or to point for what we are missing if it is the case?
r
hey @error404404404 whats the value of
claimValidationErrors
?
e
@rp_st
Copy code
{
  "id": "st-ev",
  "reason": {
    "actualValue": false,
    "expectedValue": true,
    "message": "wrong value"
  }
}
r
right. So this means that the email is not verified
so you need to go through the email verification flow - see our docs for custom UI for email verification
e
Got it, thanks