When attempting to log in using an external SAML IdP, login fails, and the end user is presented with the error:
400: Bad Request Error Code: GENERAL_NONSUCCESS
-
Secure Assertion Markup Language (SAML)
- SAML Identity Provider (IdP)
This can be caused by incorrect SAML IdP configuration for "IdP Issuer URI" in Okta.
- Locate the login failure in the system log. If the event shows Authenticate user via IDP FAILURE: Unable to validate incoming SAML Assertion, expand the event.
- Check this section of the event: System > Debug Context > DebugData > ErrorMessage.
The error message may show the following:
The Issuer in the SAML response did not match the Issuer configured for the Identity Provider.
- If the error message above is seen, please check the IdP configuration in Okta (Okta Admin Dashboard > Security > Identity Providers > Actions > Configure Identity Provider) to confirm that the “IdP Issuer URI” value matches the “Issuer” value in the SAML Response.
