add security configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -4,10 +4,10 @@ spring:
|
||||
application:
|
||||
name: app
|
||||
|
||||
security:
|
||||
user:
|
||||
name: admin
|
||||
password: pass
|
||||
# security:
|
||||
# user:
|
||||
# name: admin
|
||||
# password: pass
|
||||
|
||||
# Datasource
|
||||
datasource:
|
||||
@@ -27,8 +27,29 @@ spring:
|
||||
database: postgresql
|
||||
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
||||
|
||||
# Keycloak Security
|
||||
security:
|
||||
oauth2:
|
||||
client:
|
||||
registration:
|
||||
keycloak:
|
||||
client-id: test_client
|
||||
client-secret: jyO0RTH9dzPaschkpfjzwZ6WprTlMPZ6
|
||||
# scope: openid,profile,email
|
||||
redirect-uri: http://app.dmitriy-churmeev.tech
|
||||
provider:
|
||||
keycloak:
|
||||
issuer-uri: https://keycloak.dmitriy-churmeev.tech/realms/test_realm
|
||||
|
||||
|
||||
# Flyway
|
||||
flyway:
|
||||
enabled: true
|
||||
locations: classpath:db/migration
|
||||
baseline-on-migrate: true
|
||||
baseline-on-migrate: true
|
||||
|
||||
#keycloak:
|
||||
# auth-server-url: http://keycloak.dmitriy-churmeev.tech/auth
|
||||
# realm: test_realm
|
||||
# resource: test_client
|
||||
# public-client: true
|
||||
Reference in New Issue
Block a user