I’m hitting an API with JWT authentication through Tyk, but it’s unable to read the claims.
I’ve left it as the default, so it should be looking for sub
to use as a user ID, however I’m getting
no suitable claims for user ID were found
{
“data”: {
“id”: 41251
},
“sub”: 41251,
“iss”: {REDACTED},
“iat”: 1547140017,
“exp”: 1547226417,
“nbf”: 1547140017,
“jti”: “tOfIgXVfdvGqwt9z”
}
This is what the token looks like when decoded. So there should be no trouble taking the value from sub
if I’m correct?