Skip to main content

Waveapps backend for python-social-auth.

Project description

python-social-auth-waveapps
===========================

Pluggable authentication backend for python-social-auth, that allows authentication via WaveApps.

*Currently only supports the Django strategy.*

## Installation instructions

From pypi

$ pip install python-social-auth-waveapps

or clone from Github

$ git clone git@github.com:ashchristopher/python-social-auth-waveapps.git
$ cd python-social-auth-waveapps && sudo python setup.py install

## Pre-requisites

`python-social-auth` must be installed and configured first. Please visit the
[python-social-auth documentation](http://psa.matiasaguirre.net/docs/) for instructions.


## Configuration instructions

1. Add Waveapps backend to AUTHENTICATION_BACKENDS:

AUTHENTICATION_BACKENDS = (
'social_auth_waveapps.backends.WaveAppsOauth2',
...
'django.contrib.auth.backends.ModelBackend',
)

2. Add your Waveapps settings to your django `settings.py` file.

SOCIAL_AUTH_WAVEAPPS_KEY = "..."
SOCIAL_AUTH_WAVEAPPS_SECRET = "..."
SOCIAL_AUTH_WAVEAPPS_DEFAULT_SCOPE = ['user.read', ]


## Changelog

### 0.1.0
* Fixes install problem.

### 0.0.3
* Adds the `refresh_token`, `expires_in`, and `token_type` to the `extra_data` the **UserSocialAuth** instance.

### 0.0.1
* Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-social-auth-waveapps-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file python-social-auth-waveapps-0.1.0.tar.gz.

File metadata

File hashes

Hashes for python-social-auth-waveapps-0.1.0.tar.gz
Algorithm Hash digest
SHA256 344395ad6571a09a78968f3311106304fe328672992ff9605cfb6737e5a599d7
MD5 a1bf32125acb8ac3863af1a17277b1c1
BLAKE2b-256 790dac990bc8aa2127cc91dc5de4bad88cbbe8d3d1d236bb564f108b5f8078c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page