Spring Security - Refresh token

  Рет қаралды 31,807

Bouali Ali

Bouali Ali

Күн бұрын

Buy me a coffee: ko-fi.com/boualiali #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: github.com/ali-bouali/spring-...
Don't Forget to
===========================================
💯 Free courses here: aliboucoding.com
💯 Subscribe to the youtube channel
💯 Join our Discord Community - / discord
💯 Join our Facebook Group - / 589612651142975
💯 Join our Instagram: / alibou_coding
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

Пікірлер: 124
How to Logout from Spring Security - JWT
50:09
Bouali Ali
Рет қаралды 42 М.
Spring Security Architecture Explained
14:41
Amigoscode
Рет қаралды 102 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,3 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 29 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН
What is a Refresh Token and why your REST API needs it?
4:53
Nick Chapsas
Рет қаралды 132 М.
JPA Auditing for Spring boot and Spring Security
26:00
Bouali Ali
Рет қаралды 13 М.
Spring Security, demystified by Daniel Garnier Moiroux
2:36:00
Secure Your Fullstack Angular - Spring Boot Application With the JWT Authentication
1:00:37
The Dev World - by Sergio Lema
Рет қаралды 42 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,3 МЛН