How to parse the JWT Bearer Token from WEbAPI using C#

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”
}

Hey @kalmantri1 !

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

This topic was automatically closed after 5 days. New replies are no longer allowed.