identityserverdata.json 2.91 KB
Newer Older
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
{
  "IdentityServerData": {
    "IdentityResources": [
      {
        "Name": "roles",
        "Enabled": true,
        "DisplayName": "Roles",
        "UserClaims": [
          "role"
        ]
      },
      {
        "Name": "openid",
        "Enabled": true,
        "Required": true,
        "DisplayName": "Your user identifier",
        "UserClaims": [
          "sub"
        ]
      },
      {
        "Name": "profile",
        "Enabled": true,
        "DisplayName": "User profile",
        "Description": "Your user profile information (first name, last name, etc.)",
        "Emphasize": true,
        "UserClaims": [
          "name",
          "family_name",
          "given_name",
          "middle_name",
          "nickname",
          "preferred_username",
          "profile",
          "picture",
          "website",
          "gender",
          "birthdate",
          "zoneinfo",
          "locale",
          "updated_at"
        ]
      },
      {
        "Name": "email",
        "Enabled": true,
        "DisplayName": "Your email address",
        "Emphasize": true,
        "UserClaims": [
          "email",
          "email_verified"
        ]
      },
      {
        "Name": "address",
        "Enabled": true,
        "DisplayName": "Your address",
        "Emphasize": true,
        "UserClaims": [
          "address"
        ]
      }
    ],
    "ApiResources": [
      {
        "Name": "skoruba_identity_admin_api",
        "Scopes": [
          {
            "Name": "skoruba_identity_admin_api",
            "DisplayName": "skoruba_identity_admin_api",
            "Required": true,
            "UserClaims": [
              "role",
              "name"
            ]
          }
        ]
      }
    ],
    "Clients": [
      {
        "ClientId": "skoruba_identity_admin",
        "ClientName": "skoruba_identity_admin",
        "ClientUri": "http://localhost:9000",
        "AllowedGrantTypes": [
          "hybrid"
        ],
        "ClientSecrets": [
          {
            "Value": "skoruba_admin_client_secret"
          }
        ],
        "RedirectUris": [
          "http://localhost:9000/signin-oidc"
        ],
        "FrontChannelLogoutUri": "http://localhost:9000/signout-oidc",
        "PostLogoutRedirectUris": [
          "http://localhost:9000/signout-callback-oidc"
        ],
        "AllowedCorsOrigins": [
          "http://localhost:9000"
        ],
        "AllowedScopes": [
          "openid",
          "email",
          "profile",
          "roles"
        ]
      },
      {
        "ClientId": "skoruba_identity_admin_api_swaggerui",
        "ClientName": "skoruba_identity_admin_api_swaggerui",
        "AllowedGrantTypes": [
          "implicit"
        ],
        "RedirectUris": [
          "http://localhost:5001/swagger/oauth2-redirect.html"
        ],
        "AllowedScopes": [
          "skoruba_identity_admin_api"
        ],
        "AllowAccessTokensViaBrowser": true

      }
    ]
  }
}