chore: Updated comment

master
adriano 2024-09-25 10:28:42 -03:00
parent 106830704d
commit a6672fc9af
1 changed files with 1 additions and 2 deletions

View File

@ -135,8 +135,7 @@ const oauthCallBack = async (req, res) => {
code code
} }
// Refactor this. This is for salesforce only oauth2 that need a code_verifier. Try to find another //The PKCE is mandatory for salesforce. This is for salesforce only oauth2 that need a code_challenge and code_verifier.
// way of gettig the code without need the code_verifier
const rest = crmOauth.crm.crmRest const rest = crmOauth.crm.crmRest
const salesforceUrls = rest.map(endpoint => { const salesforceUrls = rest.map(endpoint => {
const key = Object.keys(endpoint)[0] const key = Object.keys(endpoint)[0]