Buy me a coffee: [ Ссылка ] #githubactions #cicd #spring #learning #springboot #springtutorial #springsecurity #developpement #java #arraylist #linkedlist #springdatajpa #querybuilder #aliboucoding #alibou #validation #mongodb #springboot_3 #oauth2 #security #reactive #springreactive
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!
👉🏻 Source code: [ Ссылка ]
Don't Forget to
===========================================
💯 Free courses here: [ Ссылка ]
💯 Subscribe to the youtube channel
💯 Join our Discord Community - [ Ссылка ]
💯 Join our Facebook Group - [ Ссылка ]
💯 Join our Instagram: [ Ссылка ]
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
Spring Security - Refresh token
Теги
springjpadata jpamappingonetooneone to onespring datamany to onemanytooneclassgeneratedvaluepersistencerepositoryservicejparepositoryjpa repositoryumlclass diagramdesignsoftwareengineersoftware engineerjavajakartajavaxspring bootspringbootsecurityspring securityaliboucodingspring boot 3.0spring boot 3spring 3jwtfilterauthenticationauthorizationbearerjjwtoauth2githubsocial connectsocial login