1. Insall packages
1. System.IdentityModel.Tokens.jwt 6+
2. Microsoft.IdentityModl.TOkens 6+
3. Micorsoft.AspNetCore.Authentication.JwtBearere 3.12
2. Update in Startup.cs File
3. Create the JWTService to generate Tokens in String Format.
4. Sent it whenever login is Successfull.
5. Receive this token in FrontEnd and stroe it in Browser's local storage.
for Angular
6. npm install @auth0/angular-jwt
Git Hub Links:
.NET Core: Fullstack.API
Angular: Fullstack.UI
No comments:
Post a Comment