# Konfiguration
# Backend
realm: mobidam
spring:
security:
oauth2:
resourceserver:
jwt:
jwk-set-uri: https://myidp/auth/realms/${realm}/protocol/openid-connect/certs
issuer-uri: https://myidp/auth/realms/${realm}
security:
oauth2:
resource:
user-info-uri: https://myidp/auth/realms/${realm}/protocol/openid-connect/userinfo
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
# Api-Gateway
server:
port: 8082
spring:
# spring cloud gateway config
cloud:
gateway:
actuator:
verbose:
enabled: false
mvc:
log-request-details: on
# security config
security:
oauth2:
client:
provider:
keycloak:
issuer-uri: https://myidp/auth/realms/${realm}
registration:
keycloak:
client-id: myclient
client-secret: mysecret
resourceserver:
jwt:
jwk-set-uri: https://myidp/auth/realms/${realm}/protocol/openid-connect/certs
resource:
user-info-uri: https://myidp/auth/realms/${realm}/protocol/openid-connect/userinfo
realm: mobidam
app:
gateway:
routing:
backend:
uri: http://localhost:39146/
sso:
uri: https://myidp
security:
keycloak:
realm: ${realm}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
← API Technisches Setup →