Added jwt token validation and api endpoint versioning

This commit is contained in:
lobo committed 2026-04-03 12:25:03 +02:00
1 parent 161381ebe5
commit a94b2bf9e7
10 files changed
+249 -8

No files matched your search

+12
View File
@@ -13,6 +13,13 @@ spring:
baseline-on-migrate: true
# Explicitly state where to look for scripts
locations: classpath:db/migration
mvc:
apiversion:
use:
query-parameter: version
default: "1.0"
supported: 1.0, 2,0
# Actuator & Micrometer Settings
management:
@@ -29,6 +36,11 @@ management:
export:
enabled: true
# Security stuff
security:
jwt:
secret: ${JWT_SECRET}
# Custom properties for CORS
app:
cors: