OpenID Connect Integration
Supported ACR Requests
The Authentication Context Class Reference (ACR) is a string that specifies the authentication context used during the authentication process. For more information, refer to the OpenID Connect Core 1.0 specification.
By specifying the required authentication context, you can ensure that users are authenticated using stronger methods, such as multi-factor authentication (MFA).
Currently, the only supported ACR value is the https://refeds.org/profile/mfa value. This value is used to request the REFEDS MFA profile for the user. If the user’s IdP supports the REFEDS MFA profile, the AAF OpenID Provider will return the REFEDS MFA profile attributes in the ID Token. If the user’s IdP does not support the REFEDS MFA profile, the AAF OpenID Provider will return an error to your service.
Example OIDC Request
POST /oidc/authorize HTTP/1.1
Host: central.aaf.edu.au
Content-Type: application/x-www-form-urlencoded
response_type=code&
client_id=your-client-id&
redirect_uri=https://your-app.example.com/callback&
scope=openid%20profile&
acr_values=https://refeds.org/profile/mfa&
state=af0ifjsldkj&
nonce=n-0S6_WzA2Mj
Example Successful Response
Note: This is the decoded ID Token and is for demonstration purposes only. The actual ID Token will be a JWT.
{
"iss": "https://central.aaf.edu.au",
"sub": "1234567890",
"aud": "your-client-id",
"acr": "https://refeds.org/profile/mfa",
"auth_time": 1609446400,
"iat": 1609446400,
"exp": 1609450000
}
Example Error Response
If the users’ IdP does not support the REFEDS MFA profile, the following error response will be returned:
{
"error": "insufficient_authentication_level",
"error_description": "A different level of authentication is required",
"acr": "https://refeds.org/profile/mfa"
}