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 c# - How to use JWT in MVC application for authentication and authorization? - Stack Overflow 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#) - #3 by nicolas_sabena
Any adivice?
Thank you,
Radu