SAP Knowledge Base Article - Preview

3600482 - OAuth 2.0 Password Credentials Flow fails with "User authentication failed: Unauthorized"

Symptom

  • The OpenID connect application in Identity Authentication Services (IAS) is configured to generate SAML assertion for SuccessFactors.
  • While calling IAS endpoint /oauth2/token with the username and password, an error message is encountered: 
{
    "error": "invalid_grant",
    "error_description": "User authentication failed: Unauthorized"


Read more...

Environment

SAP Cloud Identity Services

Product

Identity Authentication 1.0

Keywords

invalid_grant, User authentication failed: Unauthorized, Unauthorized, User Authentication, OIDC, OAUTH2, SAP Cloud Identity Services, IAS, SAML assertion, SuccessFactors, Login Name, Logon Identifier, Allowed Logon Identifier , KBA , BC-IAM-OID , OIDC/OAUTH2 component in SAP Cloud Identity Services , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.