I need to parse the JWT Bearer token for the extra information from the WEBAPI once authorized, using C#.
This is how my access token looks when I de code using jwt.io interface.
I need to grab the longClaim and accessClaim values. How can I do that .
thanks in advance
{
“https://xxxxx.com/loginClaim”: “xxxxx1@gmail.com”,
“https://xxxx.com/accessClaim”: “IDXSOLD”,
“iss”: “https://xxxxx.com/”,
“sub”: “xvxvxvxvxvxvxvxvxvvx@clients”,
“aud”: “xxxxx.com”,
“iat”: 1523627742,
“exp”: 1523714142,
“azp”: “xcxxvxvxvxvxvxvxvxvxvxvxvxvvx”,
“gty”: “client-credentials”
}