Перейти к содержимому

Lesson 16: React JWT Authentication with ASP.NET Core: Login, Protected Routes and Roles

MyConceptCraft

0:00 / 0:00

Lesson 16: React JWT Authentication with ASP.NET Core: Login, Protected Routes and Roles

17 просмотров · 7 дн. назад
MyConceptCraft
23 подписчика
17 просмотров · 7 дн. назад
Add real security: registration, login and protected APIs with JSON Web Tokens, ASP.NET Core and React, explained step by step. In this lesson (Lesson 16 of 20 in the "React JS: Beginner to Advanced" course) you will learn: Authentication vs authorization (401 vs 403) The JWT login flow What is inside a JWT, and why it can't be faked Creating and validating tokens in ASP.NET Core axios interceptors for the Bearer token An AuthContext and protected routes with roles YOUR TASK: Add a 'Change password' page and a protected change-password endpoint. ------------------------------------------ ABOUT THIS COURSE "React JS: From Beginner to Advanced" is a free, step-by-step video course that takes you from your first component to full-stack, production-ready apps. 20 lessons and 5 real-world projects with React 19, Vite, React Router, TanStack Query, Zustand, Redux Toolkit, React Hook Form, Zod, Tailwind CSS, TypeScript, Vitest, and an ASP.NET Core Web API (.NET 10) back end with JWT and SignalR. Full course playlist:    • React JS Full Course: Beginner to Advanced...   previous Lession 15    • Lesson 15: TanStack Query (React Query) Tu...   Lession 13    • Lesson 13: React Hooks in Depth: useRef, u...   Lession 12    • Lesson 12: React Global State: Context, us...   Lession 11    • Lesson 11: React Router Tutorial: Routes, ...   Lession 9    • Lesson 9: useEffect and Fetching Data in R...   Lession 8    • Lesson 8: React Forms and Validation: Cont...   Lession 7    • Lesson 7: Lists, Keys and Conditional Rend...   Lession 6    • Lesson 6: React useState and Events: Re-re...   Lession 5    • Lesson 5: React Props Explained: Passing D...   Lession 4    • Lesson 4: JSX and Components in React: Rul...   Lession 3    • Lesson 3: React Setup with Vite: Node.js, ...   Lession 2    • Lesson 2: Modern JavaScript for React: Arr...   Lession 1    • Lesson 1: What is React? Components, SPAs ...   AI in asp.net core Full Course Video link English and Hindi English version:    • AI with ASP.NET Core: Full Course for C# D...   Hindi playlist:    • AI with ASP.NET Core Hindi में | C# Develo...   Subscribe for the next lesson, and tell me in the comments what you are building with React! #React #JWT #Authentication #AspNetCore #WebSecurity #FullStack