Pin Code

Introduction


This section will explain how to configure pin code login in SOAJS. 


Configuration Details


You can configure your Pin Code Login in 3 different places.

  • You can add it to your Key Configuration Per Environment Per Tenant.
  • You can add it as a Custom Registry and Plug it in.
  • A default configuration is found in the service configuration file (config.js)


Priority

  1. Key Configuration
  2. Custom Registry
  3. Service Configuration



Service ConfigurationEnvironment ConfigurationKey ConfigurationTypeDescription
Typeconfig.js file
Environment RegistryCustom Registry
Service Configuration Per External Key Per Tenant Per Environment

SchemaObject
--Object
Object



pinConfiguration

pinConfiguration

urac


pinConfiguration
charLengthcharLength
charLengthIntegerLength of Pin
characterscharacterscharactersStringcharacters allowed to be used for Pin 


Examples



Ext Key:

Pin configuration for Ext key
{
  "urac": {
	"pinConfiguration": {
		"charLength": 4,
		"characters": "0123456789"
	}
  }
}

Custom Registry:

Pin configuration for Ext key
{
	"pinConfiguration": {
		"charLength": 4,
		"characters": "0123456789"
	}
}