Debian Codegraph @

docs/socialaccount/providers/patreon.rst

raw
1 Patreon
2 -------
3
4 The following Patreon settings are available:
5
6 .. code-block:: python
7
8 SOCIALACCOUNT_PROVIDERS = {
9 'patreon': {
10 'VERSION': 'v1',
11 'SCOPE': ['pledges-to-me', 'users', 'my-campaign'],
12 }
13 }
14
15 VERSION:
16 API version. Either ``v1`` or ``v2``. Defaults to ``v1``.
17
18 SCOPE:
19 Defaults to the scope above if using API v1. If using v2, the scope defaults to ``['identity', 'identity[email]', 'campaigns', 'campaigns.members']``.
20
21 API documentation:
22 https://www.patreon.com/platform/documentation/clients
23
24 App registration (get your key and secret for the API here):
25 https://www.patreon.com/portal/registration/register-clients
26
27 Development callback URL
28 http://127.0.0.1:8000/accounts/patreon/login/callback/