You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @NYxcentium, in case you are using command sfcc-ci client:auth and you are not passing any user credentials, a lookup of user credentials from a dw.json in the current working directory or from well-known env vars is done, see also the help text sfcc-ci client:auth --help
If user credentials are not provided, they are read from a dw.json file located in the
current working directory. You may use environment variables SFCC_OAUTH_USER_NAME and
SFCC_OAUTH_USER_PASSWORD to pass the user credentials alternatively.
You can validate if this is happening, by using the --debug flag and check the debug logs in the console.
We have recently merged #499 which allows you to force the CLI not to read the user credentials from the dw.json. This change will be in the upcoming 2.12.0 release. Another option you have is to change the working directory so that the dw.json is not found any longer.
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 :
Looks like grant type should be 'client_credentials' instead 'pasword'
Relevant log output
The text was updated successfully, but these errors were encountered: