This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 228
/
appsettings.json
90 lines (83 loc) · 2.33 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
{
"IdentityResources": [
{
"Name": "openid",
"DisplayName": "Your user identifier",
"Required": true,
"UserClaims": [
"sub"
]
},
{
"Name": "profile",
"DisplayName": "User profile",
"Description": "Your user profile information (first name, last name, etc.)",
"Emphasize": true,
"UserClaims": [
"name",
"family_name",
"given_name",
"middle_name",
"preferred_username",
"profile",
"picture",
"website",
"gender",
"birthdate",
"zoneinfo",
"locale",
"updated_at"
]
}
],
"ApiResources": [
{
"Name": "api1",
"DisplayName": "My API #1",
"Scopes": [
{
"Name": "api1"
}
]
}
],
"Clients": [
{
"ClientId": "client",
"ClientName": "Client Credentials Client",
// 511536EF-F270-4058-80CA-1C89C192F69A
"ClientSecrets": [ { "Value": "fU7fRb+g6YdlniuSqviOLWNkda1M/MuPtH6zNI9inF8=" } ],
"AllowedGrantTypes": [ "client_credentials" ],
"AllowedScopes": [ "api1" ]
},
{
"ClientId": "mvc",
"ClientName": "MVC Client",
// 49C1A7E1-0C79-4A89-A3D6-A37998FB86B0
"ClientSecrets": [ { "Value": "o90IbCACXKUkunXoa18cODcLKnQTbjOo5ihEw9j58+8=" } ],
"AllowedGrantTypes": [ "code", "client_credentials" ],
"RequirePkce": true,
"AllowedScopes": [ "openid", "profile", "api1" ],
"AllowOfflineAccess": true,
"RedirectUris": [ "http://localhost:5003/signin-oidc" ],
"FrontChannelLogoutUris": [ "http://localhost:5003/signout-oidc" ],
"PostLogoutRedirectUris": [ "http://localhost:5003/signout-callback-oidc" ]
},
{
"ClientId": "spa",
"ClientName": "SPA Client",
"AllowedGrantTypes": [ "implicit" ],
"AllowedScopes": [ "openid", "profile", "api1" ],
"AllowAccessTokensViaBrowser": true,
"RedirectUris": [
"http://localhost:5002/index.html",
"http://localhost:5002/callback.html",
"http://localhost:5002/silent.html",
"http://localhost:5002/popup.html"
],
"FrontChannelLogoutUris": [ "http://localhost:5002/index.html" ],
"PostLogoutRedirectUris": [ "http://localhost:5002" ],
"AllowedCorsOrigins": [ "http://localhost:5002" ]
}
]
}