This module lets you authenticate using Stripe Connect in your Node.js applications. By plugging into Passport, Stripe Connect authentication can be easily and unobtrusively integrated into any application or framework that supports Connect-style middleware, including Express.
$ npm install passport-stripe
The Stripe Connect authentication strategy authenticates users using a Stripe
account and OAuth 2.0 tokens. The strategy requires a
verify callback, which
accepts these credentials and calls
done providing a user, as well as
options specifying a app ID, app secret, and callback URL.
passport.authenticate(), specifying the
'stripe' strategy, to
For example, as route middleware in an Express application:
By default, stripe will authenticate with
read_write the permissions can be requested
scope option to
Scotch.io has provided a comprehensive tutorial using passport plugins.
Copyright (c) Matthew Conlen <http://mathisonian.com/>