Getting new Access token by Refresh token in ASP.NET Core C# | Part-19

preview_player
Показать описание
In this tutorial, we dive into implementing a secure token refresh mechanism in an ASP.NET Core application using C#. Learn how to create a method that takes a refresh token and an expired access token as input, validates the old access token, extracts user information (principal), and generates new access and refresh tokens.

For more video please like ,share and subscribe to my channel.


youtube :

instagram :
Рекомендации по теме
Комментарии
Автор

thank you so much, this course is genius and i haven't found like it it really helps me. please can you make a video how to connect this api project to frontend framework?

yousefmohamedtawfiq
Автор

Thanks a lot!, looking forward to a new videos

madoha
Автор

Hello. Thanks for your videos. Your videos is very useful. Can you make guid how to implement AOuth2?

zero-ixbz
Автор

Salam alaika warahmatullah wabarakatuhu. have been closely following your tutorial, and I must express my appreciation for its intriguing and enlightening content. May Almighty Allah bless you for your dedication. I have a question: the method CreateUserWithTokenAsync does not include the recently added fields from the User table, namely the RefreshToken and RefreshTokenExpiry. How can this be resolved? Attempting to register a new user results in an error indicating that the RefreshToken and RefreshTokenExpiry cannot be NULL.

ibcent
Автор

nice video series, i loved it. but what happened to the forget password code? final source code doesn't have that. can u do a video on that?

mohamedziham