Skip to main content

Create an App Login

Overview​

You cannot create an instance of an AppLogin directly. AppLogins are generated automatically when the user performs validation methods defined in the Project > ProjectFlow. The AppLogin is tied to the respective validation method used during the login process.

Validation Methods​

AppLogins are created automatically through the following validation methods:

Email Validation​

The AppLogin will contain an emailValidation field that tracks the email-related authentication details.

Steps:

  1. User receives an OTP (One-Time Password) via email
  2. User enters the OTP on the login page or validates it via the Validate an Email Validation API
  3. Once verified, an AppLogin object is created with type: email

See: Email Access Example

Phone Validation​

The AppLogin will contain a phoneValidation field capturing the phone authentication.

Steps:

  1. User receives an OTP via SMS
  2. User inputs the OTP to log in or validates it via the Validate a Phone Validation API
  3. Once the OTP is validated, an AppLogin object is created with type: phone

Biometric Validation​

The AppLogin will include a biometricValidation field recording the biometric authentication event.

Steps:

  1. User provides biometric data (e.g., facial recognition, fingerprint)
  2. The biometric data is validated using liveness detection in the web app or via the Validate an App Login Biometric Validation API
  3. Upon successful validation, an AppLogin object is generated with type: faceLiveness

Notes​

Since AppLogins are automatically created during the interaction process with the ProjectFlow's login methods (email, phone, or biometrics), you do not need to manually create them. Instead, focus on ensuring the correct validation methods are implemented in the login flow.