Skip to content

Error: Authentication failed: Resource owner authentication failed #568

@NYxcentium

Description

@NYxcentium

sfcc-ci Version

2.11.0

NodeJS Version

21.7.1

sfcc-ci Path

sfcc-ci

Host OS Details

No response

What happened?

Hello all,

I'm having auth issues running sfcc-ci auth command with :

image

Looks like grant type should be 'client_credentials' instead 'pasword'

Relevant log output

REQUEST emitting complete https://account.demandware.com/dw/oauth2/access_token
{
  response: {
    debugId: 1,
    headers: {
      'cache-control': 'no-store',
      pragma: 'no-cache',
      'content-type': 'application/json;charset=UTF-8',
      'content-length': '84',
      date: 'Fri, 24 May 2024 21:09:39 GMT',
      'referrer-policy': 'strict-origin-when-cross-origin',
      'strict-transport-security': 'max-age=15724800; includeSubDomains',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'SAMEORIGIN',
      'x-ratelimit-limit': '400, 400;w=60, 5000;w=60',
      'x-ratelimit-remaining': '399',
      'x-ratelimit-reset': '20',
      vary: 'Accept-Encoding',
      server: 'envoy'
    },
    statusCode: 400,
    body: {
      error_description: 'Resource owner authentication failed',
      error: 'invalid_grant'
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions