Debian Codegraph @

docs/socialaccount/providers/exist.rst

raw
1 Exist
2 -----
3
4 Register your OAuth2 app in apps page:
5
6 https://exist.io/account/apps/
7
8 During development set the callback url to:
9
10 http://localhost:8000/accounts/exist/login/callback/
11
12 In production replace localhost with whatever domain you're hosting your app on.
13
14 If your app is writing to certain attributes you need to specify this during the
15 creation of the app. For a full list of scopes see:
16
17 https://developer.exist.io/reference/authentication/oauth2/#scopes
18
19 The following Exist settings are available:
20
21 .. code-block:: python
22
23 SOCIALACCOUNT_PROVIDERS = {
24 'exist': {
25 'SCOPE': ['mood_read', 'health_read', 'productivity_read'],
26 }
27 }
28
29 SCOPE:
30 The default scopes are listed above. For reading additional attributes or writing data see
31 https://developer.exist.io/reference/authentication/oauth2/#scopes.
32
33 For more information:
34 OAuth documentation: https://developer.exist.io/reference/authentication/oauth2
35 API documentation: https://developer.exist.io/reference/important_values/