Config key: auth
This section configures the auth screen flows
Types: (s) - string, (b) - boolean, (i) - integer
identifier: (s: ‘email’/‘mobile’) tells the app which field the users are required to log in with. Note: the two options below are only applicable for whichever value this identifier is set toemail: (s: ‘required’/‘optional’/’’) prompts the user to verify their email:required: app is blocked by this screen until user has verified emailoptional: it can be skipped, but the user will be prompted again on next login''[default]: screen is skipped
mobile: (s: ‘required’/‘optional’/’’) prompts the user to verify their mobile:- same behaviour as email above with ‘required’/‘optional’/’’.
first_name: (b) requires user to enter their first namelast_name: (b) requires user to enter their last nameusername: (b) requires user to enter a usernamenationality: (b) requires user to select a nationality/countrydefaultNationality: (s) country code for the default nationality set for new registrations. Note: ifconfirm_password: (b) requires user to confirm their passwordlocalAuth: (s: ‘required’/‘optional’/’’) prompts the user to activate pin or touchID - see “pin” section.- same behaviour as email above with ‘required’/‘optional’/’’.

- same behaviour as email above with ‘required’/‘optional’/’’.
mfa: (s: ‘required’/‘optional’/’’) prompts the user to activate two-factor authentication on their account. This will require them to use a token/sms OTP on their next login. Similar behaviour to email above with ‘required’/‘optional’/’’tier: (i: 0) required user tier level to use the app - they are presented with a blocker screen and only have access to profile/settings while under this tier levelgroup: (b: true) prompt user to choose their group as part of the registration flowsessions: (b: true) applicable for client apps, allows signing in to multiple sessions at one timedisableRegister: (b: false) disable the register option in the appbusiness: (b: true) shows config to set up initial business in auth flow if business account is being registeredlanguage: (s: ‘’) default language used in the app’s auth flows as well as for new user registrations
"auth": {
"identifier": "email",
"email": "",
"mobile": "",
"first_name": false,
"last_name": false,
"username": false,
"country": false,
"group": true,
"nationality": false,
"defaultNationality": "",
"confirm_password": false,
"landing": "login",
"localAuth": "",
"mfa": "",
"language": "",
"disableRegister": false,
"tier": 0,
"business": true,
"sessions": true
},