Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

URAC micro-service V3 configuration variables that are needed and can be customized 

...

NameTypeDescription

Example

hashIterationsintegerHashing iteration value used by SOAJS hasher to encrypt/compare passwords16
seedLengthintegerSeed length value used by SOAJS hasher to encrypt/compare passwords32

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

More information can be found in the Complete Example

...

NameTypeDescriptionExample
validateJoinbooleanThis configuration controllers the status of a user after joining. aka ('pendingJoin' : 'active')
 
true

3. Mail Configuration

...

Pin code adds a second layer of authentication to URAC. For example, in the hospitality business you want the manager to login and turn on pin login. This way a user can key in a ping and get access. For more information go to Pin login Configuration.

6. Data configuration

You should add a database configuration to the environment where you deployed URAC. for more information go to Data Configuration.

Configuration priority and the default values

This table illustrates the configuration that can be overridden at a different layer of configuration 

Info
titlePriority

Local → Registry → Tenant 

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

Name

Local Configuration (Default)

config.js

...

Registry Configuration (Per Environment)

req.soajs.registry

...

Configuration

...

hashIterations

...

.