Introduction
...
Registry Configuration
Introduction
Table
Complete example link Table and links to examples
Database needed by URAC (link)
Configuration priority and default value
This table illustrate the configuration that can be overridden at different layer of configuration
...
Name | Local Configuration (Default) config.js | Registry Configuration (Per Environment) req.soajs.registry | Tenant Configuration (Per Tenant Per Environment) | Type | Description | Example | |
---|---|---|---|---|---|---|---|
Settings | Custom | ||||||
pinConfiguration | ✓ | ✓ | ✓ | Object | Object for pin settings | Pin Configuration | |
tokenExpiryTTL | ✓ | integer | Token expiry limit in seconds | 172800000 | |||
link | ✓ | Object | Link values that are attached in the content of email notifications | Link | |||
model | ✓ | ✓ | string | Model Name | "mongo" | ||
validateJoin | ✓ | boolean | Set to true if registration needs validation confirmation | true | |||
hashIterations | ✓ | ✓ | integer | Hashing Iteration value used by SOAJS hasher to encrypt/compare passwords | 16 | ||
seedLength | ✓ | ✓ | integer | Seed Length value used by SOAJS hasher to encrypt/compare passwords | 32 | ||
optionalAlgorithm | ✓ | string | Hash algorithm name | Example #1 | |||
passportLogin | ✓ | Object | Define application keys for passport integration. Currently supporting: Twitter - Facebook - Google | Passport Login | |||
✓ | Object | Object 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. | |||||
errors | ✓ | ✓ | ✓ | Object | List of Error Codes used with description of each code (Error Message) | Errors | |
coreDB | ✓ | Object | The core DB of registry configuration | Registry Core Database | |||
services | ✓ | Object | Services in registry | Registry Services | |||
tenantMetaDB | ✓ | Object | Tenant meta Database | Registry 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.
...