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
@@ -236,10 +236,9 @@ authorized with the token in question. This feature is very useful in case of st
236
236
is reduced to access token verification.
237
237
238
238
To enable this feature set accessToken validity to a proper short time (e.g. 30 minutes) - equal to the intended inactive login session
239
-
time. Additionally set +extendAccessTokenValidityUpTo+ to the intended longest session time (e.g. 12 hours). Then the actively used
239
+
time. Additionally, set +extendAccessTokenValidityUpTo+ to the intended longest session time (e.g. 12 hours). Then the actively used
240
240
access token can be valid for up to 12 hours, but will automatically expire after 30 minutes without use.
241
241
242
-
243
242
==== Public and native clients, PKCE
244
243
245
244
Unity supports _Proof Key for Code Exchange by OAuth Public Clients OAuth 2.0 for Native Apps_
@@ -253,8 +252,20 @@ Note that the path must still match exactly.
253
252
* The +http+ scheme can be used in case of IP based loopback redirect, even if +https+ is configured in authorized return URI.
254
253
* Consent screen acceptance can not be saved - it is always presented.
255
254
256
-
See the aformentioned RFCs for details on how to use PKCE,
255
+
See the aforementioned RFCs for details on how to use PKCE,
257
256
and what forms of return redirections are available for native clients.
258
257
259
258
259
+
==== Client-Requested Claim Value Filtering
260
+
261
+
Unity supports a proprietary feature that allows OAuth clients to request filtering of claim values. This feature is activated when the client uses a special scope prefixed with +claim_filter:+, as follows:
262
+
263
+
----
264
+
scope=profile%20claim_filter:entitlements:abc
265
+
----
266
+
267
+
In this example, one regular scope +profile+ is requested, as well as one claim value filter. If the +entitlements+ claim is returned as part of the +profile+ scope, only its +abc+ value is included. If the +entitlements+ claim has no +abc+ value, it is not returned.
268
+
269
+
Multiple claim value filters can be used together, even for the same claim. These filters function as a whitelist: every value matching a filter is returned.
260
270
271
+
Note that when requesting a refresh token, a client may change (or completely omit) claim filters.
0 commit comments