blob: 0ce4a3d35a65fb2cdc486bd96bd39cf4fac6503d (
plain)
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
|
server:
port: 8051
address: 127.0.0.1
forward-headers-strategy: native
#logging:
# level:
# org.springframework.security: trace
spring:
application:
name: oauth2-server
security:
oauth2:
authorizationserver:
client:
oidc-client:
registration:
client-id: "api-gateway"
client-secret: "{noop}apiGatewayPassword1234"
client-authentication-methods:
- "client_secret_basic"
authorization-grant-types:
- "authorization_code"
- "refresh_token"
redirect-uris:
- "https://fs-react-app.dev.ceit.pdn.ac.lk/bff/login/oauth2/code/api-gateway"
post-logout-redirect-uris:
- "https://fs-react-app.dev.ceit.pdn.ac.lk/"
scopes:
- "openid"
- "profile"
require-authorization-consent: false
app:
users:
- username: admin
password: "{noop}abc123"
- username: user1
password: "{noop}abc123"
|