Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tbolis-at-mulesoft committed Nov 25, 2024
1 parent 1c4dfc3 commit d72dfbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private Response<List<Embedding>> embedTexts(List<String> texts) {
* @throws ModuleException if authentication fails
*/
private String getAccessToken(String salesforceOrg, String clientId, String clientSecret) {
String urlString = "https://" + salesforceOrg + ".my.salesforce.com/services/oauth2/token";
String urlString = salesforceOrg + "/services/oauth2/token";
String params = "grant_type=client_credentials&client_id=" + clientId + "&client_secret=" + clientSecret;

try {
Expand Down

0 comments on commit d72dfbd

Please sign in to comment.