Détail du package

akima-client

IVC-Inc112ISC2.5.2

Client side support for the Akima oauth2 framework

OAuth2, Client, Authentication

readme

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
  }