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
There are 4 client configuration properties related to ACR:
13
+
14
+
-`default_acr_values` - string array, default acr values which are set when `acr_values` is missed in authorization request.
15
+
-`minimumAcrLevel` - integer value which sets minimum acr level.
16
+
-`minimumAcrLevelAutoresolve` - boolean value, if `false` and `minimumAcrLevel` is higher then current `acr_values` then reject request. If `true` - resolve acr according to either client's `minimumAcrPriorityList` or AS `auth_level_mapping`
17
+
-`minimumAcrPriorityList` - string array, enables client to specify the acr order of preference, rather then just the next lowest integer value
18
+
19
+
AS process properties in following order:
20
+
1. if `acr_values` is absent, set `acr_values` from `default_acr_values`
21
+
2. Otherwise if present, checking minimum acr level:
22
+
- check `minimumAcrLevel`, if current acr level is higher or equals to `minimumAcrLevel` then proceed request processing without changes
23
+
- if `minimumAcrLevel` is less then current acr level and `minimumAcrLevelAutoresolve=false` -> reject request (return bad request error)
24
+
- if `minimumAcrLevel` is less then current acr level and `minimumAcrLevelAutoresolve=true` -> pickup value from `minimumAcrPriorityList` or if it's empty take nearest acr value that satisfy `minimumAcrLevel`
- if current `acr_values=u2f` and `minimumAcrLevelAutoresolve=false` -> request is rejected
43
+
- if current `acr_values=u2f` and `minimumAcrLevelAutoresolve=true` -> `acr_values` set to `acr_values=passkey` and request continue processing
44
+
- if current `acr_values=usb_fido_key` -> current acr is higher then minimum. Thus nothing to do.
45
+
46
+
If `minimumAcrPriorityList` is missing, then the AS can pick the next highest acr in the `auth_level_mapping`. In the example above, that would be `passkey`.
Copy file name to clipboardexpand all lines: jans-auth-server/docs/swagger.yaml
+37-1
Original file line number
Diff line number
Diff line change
@@ -1274,6 +1274,18 @@ paths:
1274
1274
processing requests from the Client.
1275
1275
items:
1276
1276
type: string
1277
+
minimum_acr_level:
1278
+
type: integer
1279
+
description: Integer value which sets minimum acr level.
1280
+
example: 10
1281
+
minimum_acr_level_autoresolve:
1282
+
type: boolean
1283
+
description: boolean value, if false and minimum_acr_level is higher then current acr_values then reject request. If true - resolve acr according to either client's minimum_acr_priority_list or AS auth_level_mapping
1284
+
minimum_acr_priority_list:
1285
+
type: array
1286
+
description: enables client to specify the acr order of preference, rather then just the next lowest integer value
1287
+
items:
1288
+
type: string
1277
1289
groups:
1278
1290
type: array
1279
1291
description: Array of client's groups.
@@ -1614,6 +1626,18 @@ paths:
1614
1626
processing requests from the Client.
1615
1627
items:
1616
1628
type: string
1629
+
minimum_acr_level:
1630
+
type: integer
1631
+
description: Integer value which sets minimum acr level.
1632
+
example: 10
1633
+
minimum_acr_level_autoresolve:
1634
+
type: boolean
1635
+
description: boolean value, if false and minimum_acr_level is higher then current acr_values then reject request. If true - resolve acr according to either client's minimum_acr_priority_list or AS auth_level_mapping
1636
+
minimum_acr_priority_list:
1637
+
type: array
1638
+
description: enables client to specify the acr order of preference, rather then just the next lowest integer value
1639
+
items:
1640
+
type: string
1617
1641
initiate_login_uri:
1618
1642
type: string
1619
1643
description: Specifies the URI using the https scheme that the authorization server can call to initiate a login at the client.
@@ -1956,6 +1980,18 @@ paths:
1956
1980
processing requests from the Client.
1957
1981
items:
1958
1982
type: string
1983
+
minimum_acr_level:
1984
+
type: integer
1985
+
description: Integer value which sets minimum acr level.
1986
+
example: 10
1987
+
minimum_acr_level_autoresolve:
1988
+
type: boolean
1989
+
description: boolean value, if false and minimum_acr_level is higher then current acr_values then reject request. If true - resolve acr according to either client's minimum_acr_priority_list or AS auth_level_mapping
1990
+
minimum_acr_priority_list:
1991
+
type: array
1992
+
description: enables client to specify the acr order of preference, rather then just the next lowest integer value
1993
+
items:
1994
+
type: string
1959
1995
initiate_login_uri:
1960
1996
type: string
1961
1997
description: Specifies the URI using the https scheme that the authorization server can call to initiate a login at the client.
@@ -4282,7 +4318,7 @@ paths:
4282
4318
- SSA
4283
4319
summary: Create SSA.
4284
4320
description: Create `SSA` for the organization with `expiration` (optional).
0 commit comments