Configuration: Allowed Authentication Factors

šŸŽÆ Purpose

Controls which authentication factors are available to users during the login process. This configuration directly impacts the user authentication experience and determines the security levels enforced by the system.


šŸ“ Configuration Location

  • Module: Auth Server
  • Configuration Name: allowed.auth.factors
  • Access Path: Module Config Management → Auth Server → allowed.auth.factors

šŸ“Š Available Configuration Parameters

ParameterTypeDefault ValueDescription
rememberMebooleantrueEnables browser remember functionality
smsOtpbooleantrueEnables SMS OTP as Level 2 authenticator
emailOtpbooleantrueEnables Email OTP as Level 2 authenticator
alwaysAskForPasswordbooleanfalseForces password requirement for all users

šŸ”§ Parameter Details

🌐 rememberMe

  • Function: Controls browser remembering capability
  • When Enabled: Users see "Remember Me" checkbox during authentication
  • User Experience: Selected browsers remain trusted for 1 year (default duration)
  • Security Impact: Reduces authentication friction for trusted devices
  • Admin Control: Can be disabled to prevent browser remembering

šŸ“² smsOtp

  • Function: Controls SMS OTP availability for authentication
  • When Enabled: SMS OTP appears as Level 2 authenticator option
  • Prerequisites: User must have registered mobile number
  • User Experience: Users receive 6-digit codes via text message
  • Admin Control: Can be disabled to remove SMS option entirely

šŸ“§ emailOtp

  • Function: Controls Email OTP availability for authentication
  • When Enabled: Email OTP appears as Level 2 authenticator option
  • Prerequisites: User must have registered email address
  • User Experience: Users receive 6-digit codes via email
  • Admin Control: Can be disabled to remove email option entirely

šŸ”’ alwaysAskForPassword

  • Function: Forces password requirement regardless of other factors
  • When Enabled: All users must enter password during login
  • User Experience: Both username and password fields displayed
  • Security Impact: Ensures password-based first factor for all authentications
  • Use Case: Organizations requiring mandatory password verification

šŸ“‹ Authentication Factor Control Matrix

Authentication FactorHard-CodedConfigurableAdmin Override
šŸ”” REL-IDverify Push Notificationāœ… Always AvailableāŒ Cannot DisableāŒ No Control
šŸ“± Time-based OTP (Mobile App)āœ… Always AvailableāŒ Cannot DisableāŒ No Control
🌐 Saved Browser (rememberMe)āŒ Optionalāœ… Configurableāœ… Full Control
šŸ”’ Password (alwaysAskForPassword)āŒ Optionalāœ… Configurableāœ… Full Control
šŸ“² SMS-based OTP (smsOtp)āŒ Optionalāœ… Configurableāœ… Full Control
šŸ“§ Email-based OTP (emailOtp)āŒ Optionalāœ… Configurableāœ… Full Control

šŸŽÆ Configuration Impact on User Experience

When rememberMe = true

  • āœ… "Remember Me" checkbox visible during login
  • āœ… Users can save browsers for future quick access
  • āœ… Account chooser appears on trusted browsers
  • āœ… Reduced authentication steps for returning users

When rememberMe = false

  • āŒ No browser remembering option available
  • āŒ Users must complete full authentication every time
  • āœ… Higher security through mandatory factor verification
  • āŒ Increased authentication friction

When smsOtp = true

  • āœ… SMS OTP available as second factor option
  • āœ… Users can register mobile numbers
  • āœ… Text message delivery for authentication codes
  • āœ… Works with any SMS-capable mobile phone

When smsOtp = false

  • āŒ SMS OTP not available during authentication
  • āŒ Users cannot use mobile numbers for verification
  • āŒ SMS-based account recovery may be limited
  • āœ… Eliminates SMS delivery dependencies

When emailOtp = true

  • āœ… Email OTP available as second factor option
  • āœ… Users can register email addresses
  • āœ… Email delivery for authentication codes
  • āœ… Works with any email account

When emailOtp = false

  • āŒ Email OTP not available during authentication
  • āŒ Users cannot use email addresses for verification
  • āŒ Email-based account recovery may be limited
  • āœ… Eliminates email delivery dependencies

When alwaysAskForPassword = true

  • āœ… Password required for all users
  • āœ… Both username and password fields shown
  • āœ… Consistent authentication experience
  • āŒ Users without passwords cannot authenticate

When alwaysAskForPassword = false

  • āŒ Password optional based on user setup
  • āœ… Username-only entry for some users
  • āœ… Flexible authentication paths
  • āœ… Mobile-first user experience possible