Pass Dynamic Authentication Context For Custom Salesforce Applications In Okta
Last Updated:
Overview
Custom Salesforce applications do not send Authentication Method Reference (AMR) claims by default, which causes authentication compliance issues. Configuring the custom Salesforce SAML application to send the session.amr value resolves the issue. If Salesforce fails to recognize the default comma-separated format and prompts administrators to enroll in a passkey, sending the values as a semicolon-separated string resolves the secondary issue.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Custom Salesforce Application
- Single Sign-On (SSO)
- Multi-Factor Authentication (MFA)
- Okta Integration Network (OIN)
Cause
Custom Salesforce applications do not send AMR claims by default, unlike applications created from the Okta Integration Network (OIN) catalog.
Solution
What steps configure the standard Dynamic Authentication Context for Salesforce?
Configure the custom Salesforce SAML application in Okta to send the standard AMR values by adding a new attribute statement.
- Navigate to the Okta Admin Console.
- Choose Applications > Applications.
- Select the custom Salesforce application.
- Select the Sign On tab and choose Edit.
- Add a new attribute in the Attributes (Optional) section with the following configuration:
- Name: amr
- Name Format: Unspecified
- Value:
session.amr
- Select Save.
What steps resolve the comma-separated format issue for Salesforce?
If Salesforce prompts administrators to enroll in a passkey because it does not recognize the comma-separated format, configure the attribute to send the AMR values as a semicolon-separated string.
- Navigate to the Okta Admin Console.
- Choose Applications > Applications.
- Select the custom Salesforce application.
- Select the Sign On tab and choose Edit.
- Add or modify the attribute in the Attributes (Optional) section with the following configuration:
- Name: amr
- Name Format: Unspecified
- Value:
String.join(";", session.amr)
- Select Save.
