Implement refresh token functionality and enhance error handling in authentication
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user