Debian Codegraph @

docs/socialaccount/providers/salesforce.rst

raw
1 Salesforce
2 ----------
3
4 The Salesforce provider requires you to set the login VIP as the provider
5 model's 'key' (in addition to client id and secret). Production environments
6 use https://login.salesforce.com/. Sandboxes use https://test.salesforce.com/.
7
8 HTTPS is required for the callback.
9
10 Development callback URL
11 https://localhost:8000/accounts/salesforce/login/callback/
12
13 Salesforce OAuth2 documentation
14 https://developer.salesforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com
15
16 To Use:
17
18 - Include allauth.socialaccount.providers.salesforce in INSTALLED_APPS
19 - In a new Salesforce Developer Org, create a Connected App
20 with OAuth (minimum scope id, openid), and a callback URL
21 - Create a Social application in Django admin, with client id,
22 client key, and login_url (in "key" field)