Auth0 Home Blog Docs

.net framework mvc app authenticate with jwt

jwt
auth0

#1

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 https://stackoverflow.com/questions/29791499/how-to-use-jwt-in-mvc-application-for-authentication-and-authorization authorization presented in this post.

My problem is that no user is authenticated. All my credentials are as in decode jwt( decoded on jwt.io) 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,
Radu