Library for Strava API Authentication
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
stravauth
.gitignore
.travis.yml
LICENSE
README.md
setup.py

README.md

django-strava-auth

Build Status

Module designed to add authentication using the Strava V3 API.

Usage

  1. Add 'stravauth' to settings.INSTALLED_APPS
  2. Set settings.AUTHENTICATION_BACKENDS = ('stravauth.backend.StravaV3Backend', )
  3. Add CLIENT_ID, CLIENT_SECRET, STRAVA_REDIRECT to settings
  4. Add to urls: url(r'^login/', StravaAuth.as_view(url=reverse_lazy("home")), kwargs={"approval_prompt": "force"})