Authentication context claims
Strivacity provides authentication context in ID tokens through the amr and acr claims. These claims allow an OIDC client to evaluate the authentication event without relying on the details of the login journey that produced it.
amridentifies the authentication methods used during the authentication event.acridentifies the authentication context or assurance level achieved.
Authentication methods
The amr claim identifies the authentication methods used during the current authentication event. It is returned as an array and can contain the following values:
| Value | Authentication method |
|---|---|
pwd | Password |
otp | One-time password or magic link |
sms | SMS confirmation |
tel | Telephone call confirmation |
hwk | Hardware-protected key |
swk | Software-protected key |
push | Push notification MFA |
mfa | Multiple authentication factor categories were used |
An authentication method can contribute more than one value. For example, authentication using a password followed by an SMS OTP produces:
["pwd", "otp", "sms", "mfa"]
Only authentication methods used during the current authentication event are included.
Authentication context
The acr claim identifies the authentication context achieved during the authentication event. Unlike amr, it contains a single value.
Strivacity supports the following values:
| Value | Authentication context |
|---|---|
urn:strivacity:acr:1 | NIST AAL1 |
urn:strivacity:acr:2 | NIST AAL2 |
urn:strivacity:acr:3 | NIST AAL3 |
Authentication context claims can also be included in access tokens. For details, see OAuth2/OIDC properties setup.
Updated 1 day ago

