← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~ines-almeida/gdpro:update-login-url into gdpro:master

 

Ines Almeida has proposed merging ~ines-almeida/gdpro:update-login-url into gdpro:master.

Commit message:
Update OAuth URL to login directly to the canonical domain

Requested reviews:
  Najam Ahmed Ansari (nansari)
  Clinton Fung (clinton-fung)

For more details, see:
https://code.launchpad.net/~ines-almeida/gdpro/+git/gdpro/+merge/449190

This makes it so that the login link directly logs in to the canonical domain instead of having to select "Use Custom Domain", enter "canonical" in the textbox, and select "Continue".
-- 
Your team Launchpad code reviewers is subscribed to branch gdpro:master.
diff --git a/salesforce_oauth.py b/salesforce_oauth.py
index 33455ff..178eed8 100644
--- a/salesforce_oauth.py
+++ b/salesforce_oauth.py
@@ -18,7 +18,7 @@ from simple_salesforce import Salesforce
 
 SALESFORCE_OAUTH_BASE = (
     "https",
-    "login.salesforce.com",
+    "canonical.my.salesforce.com",
     "/services/oauth2/",
     "",
     "",

Follow ups