filmov
tv
Spring Security - Refresh token

Показать описание
In this tutorial, we demonstrate how to implement a refresh token mechanism in a Spring Boot application secured with JSON Web Tokens (JWT). Refresh tokens improve the security and user experience of your application by allowing clients to request new access tokens without requiring users to re-authenticate every time their access token expires.
By the end of this video, you'll have a solid understanding of how to implement a refresh token mechanism within your Spring Boot application, providing a more secure and seamless experience for your users.
Don't forget to like, comment, and subscribe to our channel for more in-depth tutorials on Spring Boot, JWT authentication, and other programming topics!
Don't Forget to
===========================================
💯 Subscribe to the youtube channel
Table of content
00:00 Intro
01:00 What is refresh token
03:47 Extend the AuthenticationResponse
06:07 Extract JWT properties
09:31 Create refresh token method
12:07 Adjust the register and authenticate endpoints
14:10 Add refresh token endpoint
14:44 Implement the refresh token mechanism
22:08 Revoke the newly generated token
22:56 Test the changes
35:49 Thanks for watchin
Комментарии