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 Folks! Refreshed our Service Cloud SB so now I am trying to reconfigure B2C Sync. I am going through the steps but running into the
Ran npm run crm-sync:test:cli : All test passed
Running npm run crm-sync:test:b2c but getting 'Unable to authenticate against the B2C Commerce instance'. Looking at my .env file since the values I set are not correct. I have the keystore downloaded from SF but can't extract the keys using the CLI because it needs to be put into the _jwt/sfdc folder which I am not able to locate in the b2c_sync cloned repository.
Can you please double check?
B2C_HOSTNAME=development-na01-nameOfTheClient.demandware.net
B2C_INSTANCENAME=nameOfTheClient ->**from the url above**
B2C_CLIENTID=12345678-12345-1234 ->**Got this from Account Manager, Token Format UUID, Token Endpoint Auth Method: private_key_jwt, Allowed Scope: mail, roles, tenantFilter, profile**
B2C_CLIENTSECRET= **Password that I use for my Account Manager login and not the Password that I set for the API Client**
B2C_CERTIFICATEPATH= **Kept this null. If not null then where should the path be?**
B2C_CERTIFICATEPASSPHRASE= **Kept this null. If not null then where should the path be?**
B2C_SITEIDS=ClientSiteName ->**Got this from Administration->Sites->Manage Sites**
B2C_CODEVERSION= id for the code version-> **Got this from Administration->Site Development->Code Deployment->Click on the active code version->id of the version**
B2C_DATARELEASE=scc-sampledata ->**Kept this as the value I got in gitHub. Not sure where to get this value from.**
B2C_USERNAME= **My Business Manager login**
B2C_ACCESSKEY= KeyValue ->**Got this value 'My Profile'(Top Right)->Manage Access Keys: Scope 'Agent User Login and OCAPI'**
I have also updated the Client Id in 'WebDAV Client Permissions' and 'OCAPI Settings'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Folks! Refreshed our Service Cloud SB so now I am trying to reconfigure B2C Sync. I am going through the steps but running into the
Ran
npm run crm-sync:test:cli
: All test passedRunning
npm run crm-sync:test:b2c
but getting 'Unable to authenticate against the B2C Commerce instance'. Looking at my .env file since the values I set are not correct. I have the keystore downloaded from SF but can't extract the keys using the CLI because it needs to be put into the _jwt/sfdc folder which I am not able to locate in the b2c_sync cloned repository.Can you please double check?
I have also updated the Client Id in 'WebDAV Client Permissions' and 'OCAPI Settings'
Appreciate anyone looking into this error.
Beta Was this translation helpful? Give feedback.
All reactions