Configure Authentication Context Class (ACR) for Salesforce SAML Applications
Symptom
Salesforce has announced that it will start validating the Authentication Context Class Reference (AuthnContextClassRef/ACR) included in SAML assertions to verify that users have met the required authentication assurance level before allowing access.
To ensure successful authentication, administrators should configure the appropriate Authentication Context Class for their Salesforce SAML application based on the types of users who will access Salesforce.
Salesforce Article
For more information about Salesforce's assurance level requirements, see the Salesforce article:
https://help.salesforce.com/s/articleView?id=005321561&type=1
Environment
Identity Applications
Resolution
Configure the Authentication Context Class
-
Open your Salesforce SAML application.
-
Navigate to Trust.
-
Under Service Provider Configuration, select Manual Configuration.
-
Configure the Authentication Context Class as SmartcardPKI if any users accessing the Salesforce application have one or more of the following Salesforce permissions:
-
System Administrator profile
-
Modify All Data
-
View All Data
-
Customize Application
-
Author Apex
If all users accessing the application are standard users without these permissions, configure the Authentication Context Class as MobileTwoFactorContract.
Important Notes
-
The Authentication Context Class configured for the application applies to all users of that Salesforce SAML application.
-
If your organization has a mix of privileged and standard users accessing the same Salesforce application, configure the application to use SmartcardPKI.
Future Improvements
Support for automatically providing the appropriate Authentication Context Class based on the user's actual authentication method is planned for a future release. Once available, manual configuration for Salesforce applications will no longer be required.