akima-client

2.5.2 • Public • Published

Akima Client for nodejs apps#

This module adds oauth2 functionality allowing it to authenticate using the Akima framework.

Configuration

This module requires initialization and assumes that app.config.akima will contain the appropriate JSON.

A sample

"akima": {
   "repository":
   {
      "type":"pg",
      "pgConString":
   }
   "authorizationPath":"oauth/dialog/authorize-im/",
   "authorizationExternalHostURL":"https://co-rc1/",
   "authServerAddr":
   {
      "host":"localhost",
      "port":3001
   },
   "callbackURL":"https://co-rc1/generic-dashboard/auth/callback"
}

if the repository type is redis, then the above would have a repository setting of for example (setting host and port to null will cause the client to connect to localhost).

  "repository":
  {
     "type":"redis",
     "port":null,
     "host":null
  }

Package Sidebar

Install

npm i akima-client

Weekly Downloads

4

Version

2.5.2

License

ISC

Last publish

Collaborators

  • ivc-user