opauth / strava
Strava strategy for Opauth
dev-master
2014-09-23 19:11 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-11-19 09:37:12 UTC
README
Opauth strategy for Strava authentication.
Implemented based on http://strava.github.io/api/v3/oauth/ using OAuth 2.0.
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-Strava:
cd path_to_opauth/Strategy git clone git://github.com/csl-web/opauth-strava.git Strava
-
Create a Strava APIs project at http://www.strava.com/developers
- Make sure that website and redirect Domain is set
-
Configure Opauth-Stava strategy.
-
Direct user to
http://path_to_opauth/strava
to authenticate
Strategy configuration
Required parameters:
<?php 'Strava' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
Optional parameters:
scope
, state
, access_type
, approval_prompt
License
Opauth-Strava is MIT Licensed
Copyright © 2014 CSL-WEB (http://www.csl-web.com)