Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 563 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 563 Bytes

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"})