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.

  • amr identifies the authentication methods used during the authentication event.
  • acr identifies 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:

ValueAuthentication method
pwdPassword
otpOne-time password or magic link
smsSMS confirmation
telTelephone call confirmation
hwkHardware-protected key
swkSoftware-protected key
pushPush notification MFA
mfaMultiple 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:

ValueAuthentication context
urn:strivacity:acr:1NIST AAL1
urn:strivacity:acr:2NIST AAL2
urn:strivacity:acr:3NIST AAL3

Authentication context claims can also be included in access tokens. For details, see OAuth2/OIDC properties setup.


Did this page help you?