chore: Updated comment
parent
106830704d
commit
a6672fc9af
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue