passport-athena

1.0.7 • Public • Published

passport-athena

Passport strategy for athena authentication.

This module lets you authenticate with Athena Health in your Node.js applications. By plugging into Passport, athena authentication can be easily and unobtrusively integrated into any application or framework that supports Connect-style middleware, including Express.

Install

    $ npm install @nimblr/passport-athena

Usage

Create an Application

Before using passport-athena, you must register an application with Auth0. Your application will be issued a client ID. Which is required in order to authenticate your app with Auth0. You will also need to register your redirect URI authorized for your application. Visit the Auth0 documentation for more information.

Authentication Flow

Auth0 auth flow is shown in the image below (the image was done for pingOne but it fits for Auth0 as well)

Auth0 Auth flow

Configuration parameters

Required parameters for strategy are:

  • applicationClientID: The id of the application (this is the connection created in the Auth0 applications dashboard)
  • connectionName: The name of the connection (this is the enterprise authentication created in the Auth0 Authentication dashboard)

Package Sidebar

Install

npm i passport-athena

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

48.4 kB

Total Files

14

Last publish

Collaborators

  • nimblr_accounts