Skip to content

Commit 14a7f7d

Browse files
chore(swagger): fix jwt token in application-swagger.properties
1 parent 24cca96 commit 14a7f7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/application-swagger.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cors.allowed-origins=${CORS_ALLOWED_ORIGINS:http://localhost:9090,http://localho
1313
logging.level.root=INFO
1414

1515
# Use environment variable for JWT secret
16-
jwt.secret=${JWT_SECRET_KEY:default-swagger-secret-change-me}
16+
jwt.secret=${JWT_SECRET_KEY:#{T(java.util.UUID).randomUUID().toString()}}
1717

1818
# Placeholder for required property
1919
common-api-url-searchBeneficiary=http://localhost:8080/beneficiary/search

0 commit comments

Comments
 (0)