0.0.2 • Published 8 years ago
serverless-authentication-strava v0.0.2
serverless-authentication-strava
Authentication provider using Strava for Serverless Authentication via nodeJS.
For use with this boilerplate and the serverless framework.
install
npm i -S serverless-authentication-strava
sample usage
import Strava from 'serverless-authentication-strava';
Strava.signinHandler(providerConfig, { scope: 'public', state },
(err, data) => redirectProxyCallback(context, data));
Strava.callbackHandler(
event,
providerConfig,
handleResponse
);