Athenahealth authentication strategy for Passport.
npm install passport-athenaPassport 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.
``bash`
$ npm install @nimblr/passport-athena
#### 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)
#### 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)