Selector (include_expr)
Determines whether an authenticator should be displayed or not
Overview
Section titled “Overview”With include_expr you can control if an option for the Selector authenticator should be displayed or not.
Supported scopes are export, request and session.
Common examples
Section titled “Common examples”-
The value in LOA must be less than 3 while spEntityID must contain a specific value
"include_expr": "exports.LOA < 3 && exports.spEntityID === 'https://dev.fortifiedid.se/enrollment/'" -
spEntityID must not contain any of the two values
"include_expr": "!(exports.spEntityID === 'https://dev.fortifiedid.se/pwdreset/' || exports.spEntityID === 'https://dev.fortifiedid.se/enrollment/')" -
Tags - Any tag in the expression matching with what is in exports of the authentication will allow the authenticator to be visible for the user.
"include_expr": "mv.containsAny(exports.app_tag, 'bankid', 'bank_id', 'swedish_bankid')" -
Tags - All tag in the expression must match with what is in exports of the authentication will allow the authenticator to be visible for the user.
"include_expr": "mv.containsAll(exports.app_tag, 'bankid', 'bank_id', 'swedish_bankid')"