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]