You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -91,6 +91,7 @@ Browser token authentication works by the frontend asking for a token. The token
91
91
|`Dashboard:Frontend:OpenIdConnect:UsernameClaimType`|`preferred_username`| Specifies one or more claim types that should be used to display the authenticated user's username. Can be a single claim type or a comma-delimited list of claim types. |
92
92
|`Dashboard:Frontend:OpenIdConnect:RequiredClaimType`|`null`| Specifies the claim that must be present for authorized users. Authorization fails without this claim. This value is optional. |
93
93
|`Dashboard:Frontend:OpenIdConnect:RequiredClaimValue`|`null`| Specifies the value of the required claim. Only used if `Dashboard:Frontend:OpenIdConnect:RequireClaimType` is also specified. This value is optional. |
94
+
|`Dashboard:Frontend:OpenIdConnect:ClaimActions`|`null`| A collection of claim actions to configure how claims are mapped from the OpenID Connect user info endpoint. Each claim action can map JSON properties to claims. This value is optional. |
94
95
|`Authentication:Schemes:OpenIdConnect:Authority`|`null`| URL to the identity provider (IdP). |
95
96
|`Authentication:Schemes:OpenIdConnect:ClientId`|`null`| Identity of the relying party (RP). |
96
97
|`Authentication:Schemes:OpenIdConnect:ClientSecret`|`null`| A secret that only the real RP would know. |
@@ -101,6 +102,44 @@ Browser token authentication works by the frontend asking for a token. The token
101
102
>
102
103
> For more information, see [Configure ASP.NET Core to work with proxy servers and load balancers](/aspnet/core/host-and-deploy/proxy-load-balancer).
103
104
105
+
### Claim actions
106
+
107
+
Claim actions configure how claims are mapped from the JSON returned by the OpenID Connect user info endpoint to the user's claims identity. Each claim action in the `Dashboard:Frontend:OpenIdConnect:ClaimActions` collection supports the following properties:
108
+
109
+
| Property | Description |
110
+
|--|--|
111
+
|`ClaimType` (required) | The claim type to create. |
112
+
|`JsonKey` (required) | The JSON key to map from. |
113
+
|`SubKey` (optional) | The sub-key within the JSON key to map from. Used when the value is nested within another JSON object. |
114
+
|`IsUnique` (optional) | When `true`, ensures only one claim of this type exists. If a claim already exists, it won't be added again. Defaults to `false`. |
115
+
|`ValueType` (optional) | The claim value type. Defaults to `string`. |
116
+
117
+
The following example shows how to configure claim actions using JSON configuration:
The OTLP endpoint authentication is configured with `Dashboard:Otlp:AuthMode`. The OTLP endpoint can be secured with an API key or [client certificate](/aspnet/core/security/authentication/certauth) authentication.
0 commit comments