Based on this article: https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect, I did a sample with OpenId connect protocol.
The below link says that just receiving an id_token is not sufficient to authenticate the user; you must validate the signature and verify the claims in the id_token per your app's requirements.
Can anyone help me to guide with some code sample how to validate the signature and verify the claims in the id_token.