Client side support for the Akima oauth2 framework
This module adds oauth2 functionality allowing it to authenticate using the Akima
framework.
This module requires initialization and assumes that app.config.akima will
contain the appropriate JSON.
"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
}