Auth0 Home Blog Docs

.net framework mvc app authenticate with jwt



As need to make the old app compatible with the auth0 login. The old app is a MVC project in .net framework.
I have tried to use authorization presented in this post.

My problem is that no user is authenticated. All my credentials are as in decode jwt( decoded on and the secret is copy pasted.

I do not understand why on mvc does not work and the solution for api, if i enable webapiconfig, works
The solution i am using for api is the one found here: How can I consume a JWT access token in a WCF "restful" endpoint (C#)

Any adivice?

Thank you,