IDP Specific

I’m getting the error saying, “Identity Provider has sent ‘AuthnFailed’ status code in SAML Response” while configuring WordPress SAML SSO 2.0 Plugin with Salesforce as the Identity Provider.

657 views January 6, 2022 January 6, 2022 sohamj 0

If you get the following error while configuring Salesforce as IdP with WordPress, it means the profile of the user who is trying to Single Sign-On into WordPress using Salesforce has not been assigned to the Salesforce application configured.

AuthnFailed error

This can be easily resolved by mapping the profile of the user in the Profiles section of the Salesforce application.

  1. Log into your Salesforce account as admin.
  2. Switch to Salesforce Lightning mode from the profile menu and then go to the Setup page by clicking on the setup button.
  3. Go to your App which you have configured for the SSO via. Manage Connected Apps and go to Manage Profile in the Profiles section.
  4. Manage Profile

  5. Select the profile of the user to whom you want to give access to the WordPress site using Salesforce.
  6. User Profiles

  7. Now go back to the Service Provider Setup tab of the SAML SSO Plugin and click on Test Connection. You should see a successful test with the Attributes of the user.
  8. Test Connection

For more information, please contact us at samlsupport@xecurify.com

Was this helpful?