-
Notifications
You must be signed in to change notification settings - Fork 30
/
appsettings.json
129 lines (129 loc) · 3.51 KB
/
appsettings.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"Gateway": {
"SessionTimeoutInMin": "60",
"Url": "http://localhost:8080",
"TokenExchangeStrategy": "AzureAd"
},
"Apis": [
{
"ApiPath": "/flight-api/",
"ApiScopes": "api://flight-api/read-write"
},
{
"ApiPath": "/passenger-api/",
"ApiScopes": "api://passenger-api/read-write"
}
],
"OpenIdConnect": {
"Authority": "https://login.microsoftonline.com/e402be96-34c9-477a-91ba-be69d7b3bf40/v2.0",
"ClientId": "90c82e3f-9048-4337-9734-26e9564fa38e",
"ClientSecret": "fj67Q~AsIGh6e~Hwl.XUmPI~mgl8Yn6kqmo.7",
"Scopes": "openid profile offline_access email api://gateway/auth",
"QueryUserInfoEndpoint": false
},
"--id-svr--OpenIdConnect": {
"Authority": "https://idsvr4.azurewebsites.net",
"ClientId": "spa",
"ClientSecret": "",
"Scopes": "openid profile email api offline_access"
},
"--auth0--OpenIdConnect": {
"Authority": "https://dev-ha-6vf7s.us.auth0.com",
"ClientId": "VcBEJzHYoyPp2zwWON2HZPxNEqXcnUf8",
"ClientSecret": "KmAMZNqjb5JmY2xvsx4cTqRU1xBP-DgDL2wmj-K8GPaOKsAFbcwdm5XCQIPyCmTh",
"Scopes": "openid profile email offline_access",
"--Info-LogoutUrl": "vvv Config LogoutUrl by hand for Auth0 vvv",
"LogoutUrl": "{authority}/v2/logout?client_id={clientId}&returnTo={gatewayUrl}"
},
"--keycloak--OpenIdConnect": {
"Authority": "http://localhost:7777/auth/realms/master",
"ClientId": "spa",
"ClientSecret": "36021762-0a0a-4f9d-9572-d049cba2995d",
"Scopes": "openid profile email offline_access"
},
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft": "Debug",
"Microsoft.Hosting.Lifetime": "Debug"
}
},
"AllowedHosts": "*",
"ReverseProxy": {
"Routes": {
"flightApiRoute": {
"ClusterId": "flightApiCluster",
"AuthorizationPolicy": "authPolicy",
"Match": {
"Path": "flight-api/{**remainder}"
},
"Transforms": [
{
"PathPattern": "/api/{**remainder}"
}
]
},
"passengerApiRoute": {
"ClusterId": "passengerApiCluster",
"AuthorizationPolicy": "authPolicy",
"Match": {
"Path": "passenger-api/{**remainder}"
},
"Transforms": [
{
"PathPattern": "/api/{**remainder}"
}
]
},
"passengerMfRoute": {
"ClusterId": "passengerMfCluster",
"AuthorizationPolicy": "authPolicy",
"Match": {
"Path": "mf/passenger/{**remainder}"
},
"Transforms": [
{
"PathPattern": "/{**remainder}"
}
]
},
"appRoute": {
"ClusterId": "appCluster",
"AuthorizationPolicy": "authPolicy",
"Match": {
"Path": "{**remainder}"
}
}
},
"Clusters": {
"flightApiCluster": {
"Destinations": {
"destination1": {
"Address": "http://demo.angulararchitects.io"
}
}
},
"passengerApiCluster": {
"Destinations": {
"destination1": {
"Address": "http://demo.angulararchitects.io"
}
}
},
"passengerMfCluster": {
"Destinations": {
"destination1": {
"Address": "https://thankful-forest-09374d703.1.azurestaticapps.net"
}
}
},
"appCluster": {
"Destinations": {
"destination1": {
"Address": "https://nice-cliff-068001f03.1.azurestaticapps.net"
}
}
}
}
}
}