How to verify FID token
Struct of a normal token
base64url(header).base64url(payload).base64url(signature){
"alg": "RS256",
"kid": "A15AAA8208D664A3C3D7A6CE1F04501381048B29RS256",
"x5t": "oVqqggjWZKPD16bOHwRQE4EEiyk",
"typ": "at+jwt"
}
{
"iss": "https://id.ftech.ai",
"nbf": 1659408417,
"iat": 1659408417,
"exp": 1659412017,
"aud": "https://id.ftech.ai/resources",
"scope": [
"email",
"fid-api:id",
"openid",
"phone",
"profile",
"offline_access"
],
"amr": [
"pwd"
],
"client_id": "stress.test",
"sub": "1002",
"auth_time": 1659408417,
"idp": "local",
"sid": "51be0330396d498a89f26e705b8f0421"
}
Step to verify JWT

Last updated