refactor(security): replace JWT library with Nimbus JOSE and improve token validation (#911)

Co-authored-by: James Ward <james@notjam.es>
This commit is contained in:
brios
2026-04-29 22:14:19 +00:00
committed by GitHub
co-authored by James Ward
parent bac714eb61
commit 491df479a4
3 changed files with 148 additions and 53 deletions
+1 -6
View File
@@ -100,7 +100,7 @@ dependencies {
implementation("org.springframework.boot:spring-boot-configuration-processor")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-mail")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
implementation("com.nimbusds:nimbus-jose-jwt:10.9")
// --- Reactive Streams ---
implementation("io.projectreactor:reactor-core")
@@ -110,11 +110,6 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-flyway")
implementation("org.flywaydb:flyway-mysql:12.4.0")
// --- Security & Authentication ---
implementation("io.jsonwebtoken:jjwt-api:0.13.0")
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.13.0")
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.13.0")
// --- Lombok (For Clean Code) ---
compileOnly("org.projectlombok:lombok:1.18.46")
annotationProcessor("org.projectlombok:lombok:1.18.46")