Legacy Dev Forum Posts

 View Only

Sign Up

Salesforce Plugin - retrieve Oauth Token

  • 1.  Salesforce Plugin - retrieve Oauth Token

    Posted 06-05-2025 19:02

    fransiska.hendra | 2023-03-14 02:13:38 UTC | #1

    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


    system | 2023-04-14 02:14:35 UTC | #2

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


    This post was migrated from the old Developer Forum.

    ref: 18876