lcc_tool/src/main/resources/application.properties
Jan 8cb922a88d Updated properties and enhanced SecurityConfig
- Changed `server.forward-headers-strategy` to `native` in `application.properties`.
- Added exclusion for `/login/oauth2/code/**` in CSRF configuration.
2025-10-25 16:45:01 +02:00

26 lines
1.3 KiB
INI

spring.profiles.active=${SPRING_PROFILES_ACTIVE}
spring.application.name=lcc
spring.datasource.url=jdbc:mysql://localhost:3306/${DB_DATABASE}
spring.datasource.username=${DB_USER}
spring.datasource.password=${DB_PASSWORD}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
lcc.bulk.sheet_password=secretSheet?!
lcc.allowed_cors=${ALLOWED_CORS_DOMAIN}
lcc.base.url=${LCC_BASE_URL}
azure.maps.client.id=${AZURE_MAPS_CLIENT_ID}
azure.maps.subscription.key=${AZURE_MAPS_SUBSCRIPTION_KEY}
spring.servlet.multipart.max-file-size=30MB
spring.servlet.multipart.max-request-size=50MB
spring.cloud.azure.active-directory.enabled=true
spring.cloud.azure.active-directory.profile.tenant-id=${AZURE_TENANT_ID}
spring.cloud.azure.active-directory.credential.client-id=${AZURE_CLIENT_ID}
spring.cloud.azure.active-directory.credential.client-secret=${AZURE_CLIENT_SECRET}
spring.cloud.azure.active-directory.authorization-clients.graph.scopes=openid,profile,email,https://graph.microsoft.com/User.Read
jwt.secret=${JWT_SECRET}
management.endpoints.web.exposure.include=health,info,metrics
management.endpoint.health.show-details=always
spring.flyway.enabled=true
spring.flyway.locations=classpath:db/migration
spring.flyway.baseline-on-migrate=true
spring.sql.init.mode=never
server.forward-headers-strategy=native