Passport strategy for authenticating with Chairá using the OAuth 2.0 API.
This module lets you authenticate using your Chairá Account in your Node.js applications. By plugging into Passport, Chairá authentication can be easily and unobtrusively integrated into any application or framework that supports Connect-style middleware, including Express and NestJS
$ npm install passport-chaira
The Chairá authentication strategy authenticates users using a Chairá 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 client ID, client secret, and callback URL.
var ChairaStrategy = Strategy;passport;
passport.authenticate(), specifying the
'chaira' strategy, to
For example, as route middleware in an Express application:
Keep in mind you also need to enable the
express-session middleware for Chairá's
state verification to work correctly
This software is provided to you as open source, free of charge. The time and effort to develop and maintain this project is dedicated by @cdiaz.