passport-fusionauth
v1.0.1
Published
Oauth Strategy to authenticate with FusionAuth identity provider
Downloads
209
Maintainers
Readme
passport-fusionauth
Passport strategy for authenticating with FusionAuth using the OAuth 2.0 API.
This module lets you authenticate using FusionAuth in your Node.js applications. By plugging into Passport, FusionAuth authentication can be easily and unobtrusively integrated into any application or framework that supports Connect-style middleware, including Express.
Install
$ npm install passport-fusionauth
Usage
Create an Application
Before using passport-fusionauth
, you must register an application with FusionAuth.
Your application will be issued a client identifier (Client Id) and client secret (Client Secret), which
need to be provided to the strategy. You will also need to configure a callback
URL which matches the route in your application.
Configure Strategy
The FusionAuth authentication strategy authenticates users using a FusionAuth account and OAuth tokens. The client id and client secret obtained when creating an application are supplied as options when creating the strategy.