django-strava-auth
Module designed to add authentication using the Strava V3 API.
Usage
- Add 'stravauth' to settings.INSTALLED_APPS
- Set settings.AUTHENTICATION_BACKENDS = ('stravauth.backend.StravaV3Backend', )
- Add CLIENT_ID, CLIENT_SECRET, STRAVA_REDIRECT to settings
- Add to urls: url(r'^login/', StravaAuth.as_view(url=reverse_lazy("home")), kwargs={"approval_prompt": "force"})