From a6672fc9af419c78786f1794b97bf993c16f7ab2 Mon Sep 17 00:00:00 2001 From: adriano Date: Wed, 25 Sep 2024 10:28:42 -0300 Subject: [PATCH] chore: Updated comment --- backend/controllers/crmController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/controllers/crmController.js b/backend/controllers/crmController.js index bb076e3..75e5bfe 100644 --- a/backend/controllers/crmController.js +++ b/backend/controllers/crmController.js @@ -135,8 +135,7 @@ const oauthCallBack = async (req, res) => { code } - // Refactor this. This is for salesforce only oauth2 that need a code_verifier. Try to find another - // way of gettig the code without need the code_verifier + //The PKCE is mandatory for salesforce. This is for salesforce only oauth2 that need a code_challenge and code_verifier. const rest = crmOauth.crm.crmRest const salesforceUrls = rest.map(endpoint => { const key = Object.keys(endpoint)[0]