In Authorization Code flow, how do I validate the JWT token and generate claims of the user?


I have integrated Okta with .net web application(.net framework 4.5.2) and authorization code flow. But got strucked on how do i validate the generated JWT token and generate the user claims.

Hi @GayatriBudha

You can use the guide available here to validate the JWTs in .NET.

@dragos thanks for the article, it worked for validating but when i try to add the decoded claims to the authentication ticket it is getting null exception.