---
title: "Discussion on \"JWT Authentication and Authorisation using Spring Boot 3 and Spring Security 6\" | Hashnode"
description: "Discussion on \"JWT Authentication and Authorisation using Spring Boot 3 and Spring Security 6\". In this tutorial, you will learn how to implement JWT authentication and authorization in a Spring Boot 3.0 with Spring Security 6 and PostgreSQL data"
url: "https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JWT Authentication and Authorisation using Spring Boot 3 and Spring Security 6](https://ahmadkanaan.hashnode.dev/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6?utm_source=hashnode&utm_medium=feed)

In this tutorial, you will learn how to implement JWT authentication and authorization in a Spring Boot 3.0 with Spring Security 6 and PostgreSQL data

Mar 7, 2023 · 10 min read · ahmadkanaan.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#java](https://hashnode.com/tag/java)
-   [#postgresql](https://hashnode.com/tag/postgresql)

## Written by

[Ahmad Kanaan](https://hashnode.com/@AhmadKanaan)

@AhmadKanaan · Tripoli, Lebanon

  
[View profile](https://hashnode.com/@AhmadKanaan)

Software Developer

Full stack developer from Tripoli, Lebanon, with 5 years of experience building enterprise applications with Spring Boot, React and PostgreSQL. I've led teams of 5-7 developers, mentored 10+ juniors, and I now focus on building AI-powered products. I write about AI integration, backend architecture, and lessons from shipping real projects. Open to remote work.

## Responses 4

Markdown supported · ⌘↵ to post

[André](https://hashnode.com/@nobaddays)

[Oct 9, 2024](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/67068d428c25dadbdfaceaf2)

Exactly what I was looking for, so many other tutorials didn't work or suite my needs. Thank you !!

[Obert Mudzingwa](https://hashnode.com/@omudzingwa)

[Jan 18, 2024](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/65a91dc0f8506e1361a05056)

It seems there is a new new way of creating tokens and reading created tokens according to the link below. The methods you used to generate tokens build and parse tokens are all deprecated. Would you kindly look at this link and kindly update your post if this makes sense demonstrating Access and RefreshTokens :

github.com/jwtk/jjwt#jws-create-key

[Ahmad Kanaan](https://hashnode.com/@AhmadKanaan)

[Feb 21, 2024](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/65a91dc0f8506e1361a05056#reply-65d62944c4dedb41ebd0f8dc)

Thank you, I will check it and do the necessary updates

[Obert Mudzingwa](https://hashnode.com/@omudzingwa)

[Feb 22, 2024](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/65a91dc0f8506e1361a05056#reply-65d6ef6d2fedd9cb25e7e1b8)

[Ahmad Kanaan](https://hashnode.com/@AhmadKanaan) : If you could do another project that shows complete Spring Boot Security Jwt Access & Refresh Tokens Login Logout with or without the use of Redis the better.

[Ahmad Kanaan](https://hashnode.com/@AhmadKanaan)

[Mar 16, 2024](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/65a91dc0f8506e1361a05056#reply-65f54a8fbedfb48e2e670b7c)

Okay sure i will do insha'allah

[Obert Mudzingwa](https://hashnode.com/@omudzingwa)

[Jan 18, 2024](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/65a91a96732c88480d0aeb5a)

Hi, the JWT tutorial was well organized and thoughtful. May you kindly update this tutorial showing how we can also have jwt refresh tokens. Kindly share your youtube channel if u also have.

[Akash Debbarma](https://hashnode.com/@nokhadb)

[Sep 15, 2023](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/650467fed015fbee70e852d0)

Great content. Thanks for sharing. Kindly check out my pull request in github repo.

[Ahmad Kanaan](https://hashnode.com/@AhmadKanaan)

[Sep 18, 2023](https://hashnode.com/posts/jwt-authentication-and-authorisation-using-spring-boot-3-and-spring-security-6/640757f2f91f8d44d4993d38/comment/650467fed015fbee70e852d0#reply-65083e9771c23c07fc26d093)

Thank you I already did.
