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