Login (Signing JWTs) - BUILD A JWT AUTHENTICATION SERVER (ASP.NET CORE) #2
I add a login route to the authentication server and demonstrate how to generate/sign JWT access tokens. I also show how to move JWT signing parameters to an appsettings.json configuration, and how to validate/decode JWTs on other servers.
For those of you asking about ASP.NET Core built-in Identity, I will be integrating that later in the series!
In this series, I demonstrate how to build a JWT authentication server in ASP.NET Core. The server will support user registration, logging in to get a JWT access and refresh token, refreshing expired tokens, and logging out to invalidate refresh tokens. If your application needs authentication or if you're interested in microservices, this is the series for you!
TIMESTAMPS:
0:00 - Introduction
0:16 - Login Route Setup
1:27 - Validating the Login Request
4:37 - JWT Access Token Generation
10:49 - Login Route Completion
11:45 - Testing/Debugging
13:11 - appsettings.json Configuration
16:53 - Validating JWTs on Other Servers
22:17 - Decoding Claims
23:36 - Conclusion
SOURCE CONTROL: https://github.com/SingletonSean/authentication-server
SECRET KEY GENERATION: https://mkjwk.org/
JWT DEBUGGING: https://jwt.io/
GET POSTMAN: https://www.postman.com/downloads/
OTHER LINKS:
Donations: https://www.paypal.com/biz/fund?id=UBZCZWX2UVWJE
Видео Login (Signing JWTs) - BUILD A JWT AUTHENTICATION SERVER (ASP.NET CORE) #2 канала SingletonSean
For those of you asking about ASP.NET Core built-in Identity, I will be integrating that later in the series!
In this series, I demonstrate how to build a JWT authentication server in ASP.NET Core. The server will support user registration, logging in to get a JWT access and refresh token, refreshing expired tokens, and logging out to invalidate refresh tokens. If your application needs authentication or if you're interested in microservices, this is the series for you!
TIMESTAMPS:
0:00 - Introduction
0:16 - Login Route Setup
1:27 - Validating the Login Request
4:37 - JWT Access Token Generation
10:49 - Login Route Completion
11:45 - Testing/Debugging
13:11 - appsettings.json Configuration
16:53 - Validating JWTs on Other Servers
22:17 - Decoding Claims
23:36 - Conclusion
SOURCE CONTROL: https://github.com/SingletonSean/authentication-server
SECRET KEY GENERATION: https://mkjwk.org/
JWT DEBUGGING: https://jwt.io/
GET POSTMAN: https://www.postman.com/downloads/
OTHER LINKS:
Donations: https://www.paypal.com/biz/fund?id=UBZCZWX2UVWJE
Видео Login (Signing JWTs) - BUILD A JWT AUTHENTICATION SERVER (ASP.NET CORE) #2 канала SingletonSean
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Table Data Gateway (C#) - PATTERNS OF ENTERPRISE ARCHITECTUREQueries - GRAPHQL CLIENT IN .NET w/ STRAWBERRY SHAKE #2Deploying to Azure - GRAPHQL API IN .NET w/ HOT CHOCOLATE #12Async Search (w/ WPF!) - REACTIVE EXTENSIONS + .NET (SYSTEM.REACTIVE)Iterator Pattern - DESIGN PATTERNS (C#/.NET)Global Messenger - WPF TUTORIALSMediator - DESIGN PATTERNS (C#/.NET)Resolving Users (w/ Firebase) - GRAPHQL API IN .NET w/ HOT CHOCOLATE #8.3Porting to .NET 5 - FULL STACK WPF (.NET CORE) MVVM #30Shared - VERTICAL SLICE ARCHITECTURE #5Implementing an Azure Function - FULL STACK .NET TUTORIAL (BUGPORTER) #2Entity Framework Database Integration - BUILD A JWT AUTHENTICATION SERVER (ASP.NET CORE) #6Versioning and Releasing - MAUI CI/CD TUTORIAL #3 (Windows)Email Verification - WPF + FIREBASE AUTHENTICATION #10Toggling Form Submission - FULL STACK WPF (.NET CORE) MVVM #32Prototype Pattern - DESIGN PATTERNS (C#/.NET)Automatic Versioning with Changesets - MAUI CI/CD TUTORIAL #5 (Windows)Binding MAUI Views to View Models (w/ Dependency Injection!) - MAUI TUTORIALSHTTP Request - REACTIVE EXTENSIONS + .NET (SYSTEM.REACTIVE)Simplify Configuration via Polymorphism