amit sijaria

amit sijaria

  • NA
  • 103
  • 31.5k

how to use JWT Token and not Forms authentication in MVC 5?

Apr 28 2020 4:01 AM
Currently I am using Form authentication in web application to authorize request using JWT token. I’m storing JWT token in session.it is working correctly but now I want to remove Form authentication from web application Asp.Net MVC 5, in place of this I want to store JWT token in cookie and use that to authenticate request in web application Asp.Net MVC 5.
 
Is there any way to replace Form authentication with JWT Token and store JWT Token in cookie to authorize request in Asp.Net MVC 5? 
 

Answers (2)