From a0386a9b43006b89751865384b7c64d9cff04385 Mon Sep 17 00:00:00 2001 From: notofir Date: Fri, 11 Jun 2021 00:17:59 +0300 Subject: [PATCH] endpoints: add Salesforce endpoints OAuth APIs: https://help.salesforce.com/articleView?id=sf.remoteaccess_oauth_endpoints.htm&type=5 --- endpoints/endpoints.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index cd3e1676..cdea2692 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -155,6 +155,12 @@ var PayPalSandbox = oauth2.Endpoint{ TokenURL: "https://api.sandbox.paypal.com/v1/identity/openidconnect/tokenservice", } +// Salesforce is the endpoint for Salesforce. +var Salesforce = oauth2.Endpoint{ + AuthURL: "https://login.salesforce.com/services/oauth2/authorize", + TokenURL: "https://login.salesforce.com/services/oauth2/token", +} + // Slack is the endpoint for Slack. var Slack = oauth2.Endpoint{ AuthURL: "https://slack.com/oauth/authorize",