Salesforce Plugin - retrieve Oauth Token

Hi all,

Just wondering if anyone can help. In the EmbedFramework, we able to get Oauth Token through: window . PureCloud . User . getAuthToken

https://developer.genesys.cloud/platform/embeddable-framework/actions/User/User.getAuthToken

Just wondering is there any similar method we can apply in Salesforce Plugin ?

This token needed to call PATCH update conversation participant (for update wrapup),

and got error mentioning that we need Response from web service: {"message":"This request requires a user context. Client credentials cannot be used for requests to this resource.","code":"not.a.user","status":400,"contextId":"bbea5000-0522-4688-b43e-defd46738492","details":[],"errors":[]} [b2a8a25e-3342-4cf0-9cbd-e556b3185b1c]

Oauth user credential for this.

Appreciate for any advise.
Fransiska

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.