/usr/share/doc/python-social-auth/backends/digitalocean.txt is in python-social-auth 0.2.13-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | DigitalOcean
************
DigitalOcean uses OAuth2 for its auth process. See the full
DigitalOcean developer's documentation for more information.
* Register a new application in the Apps & API page in the
DigitalOcean control panel, setting the callback URL to
"http://example.com/complete/digitalocean/" replacing "example.com"
with your domain.
* Fill the "Client ID" and "Client Secret" values from GitHub in the
settings:
SOCIAL_AUTH_DIGITALOCEAN_KEY = ''
SOCIAL_AUTH_DIGITALOCEAN_SECRET = ''
* By default, only "read" permissions are granted. In order to
create, destroy, and take other actions on the user's resources, you
must request "read write" permissions like so:
SOCIAL_AUTH_DIGITALOCEAN_AUTH_EXTRA_ARGUMENTS = {'scope': 'read write'}
|