Hi I am pretty new to Auth0 and work has asked me to integrate Auth0 to the project. Project is very simple and is classic Angular 2 SPA with C# MVC API.
I have created/download an Angular app from quickstart and it is successfully generates id_token in the local storage after I login with my account.
Second step is I have downloaded sample(preconfigured with my domain and client credentials) C# MVC API. I can access the public methods in controller via postman but when I try to access Private (Authorize) decorators on method I get the message Authorization denied. I am passing the id token appended with “Bearer” in front for Authorization in the header but it keeps denying access.
Could please someone help me or guide me of what should I pass? I have tried both the RS256 and HS256 still it cannot get valid token.
Many thanks in advance