serverless-authentication-strava
v0.0.2
Published
Authentication provider module for Serverless Authentication via strava
Downloads
7
Maintainers
Readme
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
);