Introduction
URAC micro-service V3 configuration variables that are needed and can be customized
...
Name | Type | Description | Example |
---|---|---|---|
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 | Password Hashing algorithm name. "aes256" or "des". You can go to List of Crypto Algorithms to find the name of the algorithm that you can use. You do not need to set this configuration if you do not want to specify an algorithm | aes256 |
2. Join
Info | ||
---|---|---|
| ||
In provision - key configuration |
...
Name | Type | Description | Example |
---|---|---|---|
validateJoin | boolean | This configuration controllers the status of a user after joining. aka ('pendingJoin' : 'active') | true |
3. Mail Configuration
...
More information about Variables used, custom data fields used in "content", and examples of the configuration can be found under Mail Configuration
Examples: In provision
Code Block | ||||
---|---|---|---|---|
| ||||
"commonFields" : { "mail": { // to control the smtp configuration "from": 'me@localhost.com', "transport": {...} } }, "urac" : { "links": {...}, // this object to control the links in the emails "mail": { // this object to control the content of the emails "join": {...}, // Join - mail content configuration "forgotPassword": {...}, // Forgot password mail - content configuration "addUser": {...}, // Add User - mail content configuration "changeUserStatus": {...}, // Change User Status - mail content configuration "changeEmail": {...} // Change Email - mail content configuration } } |
...
Name | Local Configuration (Default) config.js | Registry Configuration (Per Environment) req.soajs.registry | Tenant Configuration (Per Tenant Per Environment) | |
---|---|---|---|---|
Settings | Custom | |||
pinConfiguration | 1234 | ✓ | ✓ | |
model¹ | "mongo" | ✓ | ||
hashIterations | 24 | ✓ | ||
seedLength | 12 | ✓ |
model¹: We currently only support mongo models.
...