auth
This commit is contained in:
@@ -18,11 +18,11 @@ spring:
|
||||
liquibase:
|
||||
change-log: classpath:db/changelog/db.changelog-master.yaml
|
||||
|
||||
security:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
issuer-uri: ${GORODAR_KEYCLOAK_ISSUER:http://localhost:8081/realms/gorodar}
|
||||
mail:
|
||||
host: ${GORODAR_MAIL_HOST:}
|
||||
port: ${GORODAR_MAIL_PORT:587}
|
||||
username: ${GORODAR_MAIL_USERNAME:}
|
||||
password: ${GORODAR_MAIL_PASSWORD:}
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
@@ -30,8 +30,16 @@ spring:
|
||||
max-request-size: 22MB
|
||||
|
||||
gorodar:
|
||||
keycloak:
|
||||
auth:
|
||||
client-id: gorodar
|
||||
issuer: ${GORODAR_AUTH_ISSUER:http://localhost:8080}
|
||||
access-token-ttl: 24h
|
||||
refresh-token-ttl: 30d
|
||||
code-ttl: 10m
|
||||
resend-interval: 60s
|
||||
keys-dir: ${GORODAR_AUTH_KEYS_DIR:./keys}
|
||||
mail-log-only: ${GORODAR_AUTH_MAIL_LOG_ONLY:false}
|
||||
mail-from: ${GORODAR_MAIL_FROM:}
|
||||
opencv:
|
||||
base-url: ${GORODAR_OPENCV_URL:http://localhost:8000}
|
||||
api-key: ${GORODAR_OPENCV_API_KEY:dev-key}
|
||||
|
||||
Reference in New Issue
Block a user