JWT Refresh Token in DOT NET Core Web API using VS Code | .NET CORE 6.0 Tutorial

preview_player
Показать описание
#dotnetcore #webapi #jwtauthentication #vscode #nihiratechiees

This video explains how to implement JWT Refresh Token in DOT NET Core Web API using VS Code

Link for JWT Authentication
=========================

Steps followed
============
1, Create New method for Refresh Token
2, Make sure it should be saved in database against the user
3, When ever creating access token make sure create refresh token also
4, Create Action for Refresh token generation here the input is existing refresh token & Old token
5, Validate the refresh token is valid
6, Extract the access token and get the principal value
7, Create new Access & Refresh token with new expiration time

Source Code GitHub Link
====================

Link for Web API using VS Code
==========================

Link for Base 64 Encode
=====================

JWT Token Extraction Link
=====================
Рекомендации по теме
Комментарии
Автор

Excellent Sir Please explained What changes have done when use ASP.net core 6.0 without Entity Framework.

snehakmohanan
Автор

Will refreshtoken method call implicitly before access token expiration or it have to be called explicitly?

KamleshPrajapati-qrlr
Автор

c# jwt token how to authenticate requests

wudong-xnbm