Implement refresh token functionality and enhance error handling in authentication

This commit is contained in:
liosha84
2025-08-07 13:31:46 +03:00
parent 2e6f4bb870
commit c4c67e1ef1
12 changed files with 325 additions and 13 deletions
+10 -5
View File
@@ -5,14 +5,14 @@ spring.application.name=jambotron
server.port=8082
#============Localhost Configurations========================
spring.datasource.url= jdbc:postgresql://localhost:5432/jambotronDB
spring.datasource.url= jdbc:postgresql://localhost:5433/jambotronDB
spring.datasource.username= admin
spring.datasource.password= postgrespw
spring.flyway.baseline-on-migrate=true
spring.flyway.validate-on-migrate=true
spring.flyway.url=jdbc:postgresql://localhost:5432/jambotronDB
spring.flyway.url=jdbc:postgresql://localhost:5433/jambotronDB
spring.flyway.user=admin
spring.flyway.password=postgrespw
@@ -30,9 +30,14 @@ spring.ai.zhipuai.api-key = 628447c8c65845a48a7226391464a2ea.Dw8ci6TiW0BRF5LI
#============ Custom App Properties
app.jwtSecret= ======================spring=back====================
app.jwtExpirationMs= 800000
app.jwtCookieName=springangularts
app.jwtSecret= ======================jambotron=back=================
app.jwtCookieName=jambotron-jwt-cookie
app.jwtRefreshCookieName= jambotron-jwt-cookie-refresh
#app.jwtExpirationMs= 800000
#app.jwtRefreshExpirationMs= 86400000
app.jwtExpirationMs= 30000
app.jwtRefreshExpirationMs= 60000
#=============File Upload Configurations========================
spring.servlet.multipart.max-file-size=50MB