authenticationasp.net-core.net-corejwtrole-base-authorization

How to manage authentication and authorization in .net core based on the token received from third party rest API?


I am developing web Application in .Net Core 3. I need to manage authentication and authorization in web app based on the JWT token received from other rest API application. Is it possible to manage role based based page and navigation between them without using/creating the database for web app? How to manage token expiration for web application if we are able to manage that?


Solution

  • You can add same token validation parameters as you have in your other rest API app with same IssuerSigningKey, and use tokens with your main app as well