Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Introduction

URAC micro-service V3 configuration variables.


Tenant Configuration



Registry Configuration 




Summary 


Priority

  1. Local Configuration
  2. Custom Registry
  3. Service Configuration (Tenant)



Name


Local Configuration (Default)

config.js

Registry Configuration (Per Environment)

req.soajs.registry


Tenant Configuration (Per Tenant Per Environment)



Type



Description



Example

SettingsCustom
pinConfiguration
ObjectObject for pin settingsPin Configuration
tokenExpiryTTL


integerToken expiry limit in seconds

172800000

link


ObjectLink values that are attached in the content of email notificationsLink
model

stringModel Name"mongo"
validateJoin


booleanSet to true if registration needs validation confirmation

true

hashIterations



integerHashing Iteration value used by SOAJS hasher to encrypt/compare passwords16
seedLength

integerSeed Length value used by SOAJS hasher to encrypt/compare passwords32
optionalAlgorithm


stringHash algorithm nameExample #1
passportLogin


ObjectDefine application keys for passport integration. Currently supporting: Twitter - Facebook - GooglePassport Login
mail


ObjectObject to configure the mail notifications content.
Each type of notification is an entry in this object where you can configure a custom mail subject, link it to a template or inject html content directly.
Mail
errors
ObjectList of Error Codes used with description of each code (Error Message)Errors
coreDB


ObjectThe core DB of registry configurationRegistry Core Database
services


ObjectServices in registryRegistry Services
tenantMetaDB


ObjectTenant meta DatabaseRegistry Tenant Meta Database

Examples

Example #1

Optional Algorithm is the name of the hashing algorithm used. For Example "aes-128-cbc-hmac-sha256" or "des". You can go to List of Crypto Algorithms to find the name of the algorithm that you want to use.



  • No labels