25 lines
1.2 KiB
Properties
25 lines
1.2 KiB
Properties
spring.datasource.url=jdbc:postgresql://${DB_HOST:localhost}:5432/postgresdb
|
|
spring.datasource.username=postgres_user
|
|
spring.datasource.password=postgres_pass
|
|
server.port=8080
|
|
spring.jpa.hibernate.ddl-auto=create-drop
|
|
stripe.secret.key=${STRIPE_SECRET_KEY:sk_test_51PI7FRJX3NPIs0QEHQfzDLhEVoRluIhKw2CfpH2OCUOQI8oNrAKzgHy4eTvdoMdB0Tj5RV3cfSMoifFWy1EWySxO00JViZ0kl2}
|
|
stripe.webhook.secret=whsec_600e1e31dc04d7b0510b904dd352cadbc84dc73659730709ee81997657397b91
|
|
app.frontend-host=http://localhost:4200
|
|
|
|
spring.application.name=lf12_starter
|
|
#client registration configuration
|
|
spring.security.oauth2.client.registration.keycloak.client-id=lf12
|
|
spring.security.oauth2.client.registration.keycloak.authorization-grant-type=authorization_code
|
|
spring.security.oauth2.client.registration.keycloak.scope=openid
|
|
|
|
#OIDC provider configuration:
|
|
spring.security.oauth2.client.provider.keycloak.issuer-uri=http://localhost:9090/realms/LF12
|
|
spring.security.oauth2.client.provider.keycloak.user-name-attribute=preferred_username
|
|
logging.level.org.springframework.security=DEBUG
|
|
#validating JWT token against our Keycloak server
|
|
spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:9090/realms/LF12
|
|
|
|
springdoc.swagger-ui.path=swagger
|
|
springdoc.swagger-ui.try-it-out-enabled=true
|
|
|