Click here to Skip to main content
15,074,377 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone,

I am new to JWT Authentication in mvc.

my scenario is:

SiteA has a button called Vendor Details and when user clicked on button the siteA is calling Site B by passing Jwt token

and SiteB is MVC application.

I need to validate that jwt token and allow the user to access actions in SiteB.

can you help me with this scenario to validate the jwt token and allow the users to access the actions in mvc application

What I have tried:

I tried to search with jwt authenticaion in google but got the examples on how to generate jwt token in .net. but i need to validate the jwt token which is coming from another site and allow the user to access the actions in mvc applicaiton.
Posted
Updated 12-Feb-17 18:54pm

1 solution

Use Identity Server 3 or 4 this is more flexible and has more options.
   
v3
Comments
[no name] 6-Mar-17 16:51pm
   
Can you provide an example
Singh Vijay Kumar 6-Mar-17 23:30pm
   
Refer this. it has example solutions as well.
https://identityserver.github.io/Documentation/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900