JWT (JSON Web Token) ASP.NET core 3.1 with private and public certificate Authentication
Today almost all company try to use JWT authentication to exchange information between services. Each company use different approach to protect their data.
1. Symmetric JWT Signing
2. Asymmetric JWT Signing
In Symmetric JWT Signing you use key to sign and encrypt and the same key can used to decrypt data.
In Asymmetric JWT Signing you use private certificate sign and encrypt , use public certificate decrypt
Follow this steps to implement JWT ASP.NET Core 3.1 microservice and signing using private and public certificate
Step 1: http://errorandsolution.com/net-core-jwt-authentication/
Step 2: http://errorandsolution.com/net-core-jwt-authentication-part-2/