Support Note 166720
Email
Error: "Authentication Error: Authentication Failed".
Issue

When trying to log in using Single Sign-On (SSO), I am getting the error: Authentication Error - Authentication Failed.

The error log shows Failed to get Name id. Stack: ariba.util.saml.SAMLException: can not find NameId.

The Site Profile certificate matches the certificate in the customer's SAML (Security Assertion Markup Language) response.

Resolution

Ensure that you are sending a <NameID></NameID> entry in the Security Assertion Markup Language (SAML) response subject, and not an <Attribute></Attribute> entry.

Cause

This is caused by an invalid SAML response after SAP Ariba requests NameID information. When Ariba sends a SAML request for authentication, although a NameID appears in the response, it is sent as an attribute instead of an object.

Additional Information

If you are getting the error Authentication Error - Failed to validate the user, see Certificate Expired or Condition not met.


Applies To

SAP Ariba Buying and Invoicing
SAP Ariba Buying
SAP Ariba Contracts
SAP Ariba SIPM
SAP Ariba Sourcing
SAP Ariba Spend Analysis
SAP Ariba Strategic Sourcing Suite
SAP Ariba Supplier Information Management

Terms of Use  |  Copyright  |  Security Disclosure  |  Privacy