akima-client
v2.5.2
Published
Client side support for the Akima oauth2 framework
Downloads
10
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
}