Is it possible to configure the Salesforce data action to use OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration (salesforce.com) , instead of the current Username ,Password and security Token ?
Client Secret (clientSecret): Client Secret of your app
Username (username): Salesforce user with access to app.
Password (password): User password + security token (if any).
In the custom auth action, the request should be . { "requestUrlTemplate": "${credentials.loginUrl}?grant_type=password&client_id=$esc.url(${credentials.clientId})&client_secret=$esc.url(${credentials.clientSecret})&username=$esc.url(${credentials.username})&password=$esc.url(${credentials.password})", "requestType": "POST", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "requestTemplate": "grant_type=client_credentials" }
I don't think Genesys support JWT for Salesforce, as per document they have Data Action JWT support for a couple of providers, Adobe I/O, Google Cloud Platform Service Account, and Google GSuite Service Account but I don't remember Salesforce within the list.
You need to ask for passwords, client secret and with it you will have full info.
Note: of course you can use Postman first to test your request.
We currently do not have built-in support for that Salesforce authentication type. While we do have a "Custom authentication" type of authentication, there is a good chance you are not going to be able to jump through the JWT hoops required in a custom auth action.
If this is something you need ASAP, and the customer won't budge on the authentication type, all I can suggest is that you route your requests through a lambda or intermediary web service that can authenticate in the way you need.