forked from manfredsteyer/yarp-auth-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appsettings.json
70 lines (69 loc) · 1.83 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
{
"Gateway": {
"SessionTimeoutInMin": "60",
"Url": "",
"ApiPath": "/api/"
},
"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": {
"apiRoute": {
"ClusterId": "apiCluster",
"AuthorizationPolicy": "authPolicy",
"Match": {
"Path": "api/{**remainder}"
}
},
"appRoute": {
"ClusterId": "appCluster",
"AuthorizationPolicy": "authPolicy",
"Match": {
"Path": "{**remainder}"
}
}
},
"Clusters": {
"apiCluster": {
"Destinations": {
"destination1": {
"Address": "http://demo.angulararchitects.io"
}
}
},
"appCluster": {
"Destinations": {
"destination1": {
"Address": "https://purple-flower-021fa1b03.azurestaticapps.net"
}
}
}
}
}
}