passport-ok-strategy
Passport strategy for authenticating with odnoklassniki using the OAuth 2.0 API.
Install
$ npm i passport-ok-strategy
Usage
Configure Strategy
var passport = OdnoklassnikiStrategy = Strategy; passport;
Authenticate Requests
Use passport.authenticate()
, specifying the 'odnoklassniki'
strategy, to
authenticate requests.
For example, as route middleware in an Express application:
app; app;