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:
- User receives an OTP (One-Time Password) via email
- User enters the OTP on the login page or validates it via the Validate an Email Validation API
- 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:
- User receives an OTP via SMS
- User inputs the OTP to log in or validates it via the Validate a Phone Validation API
- 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:
- User provides biometric data (e.g., facial recognition, fingerprint)
- The biometric data is validated using liveness detection in the web app or via the Validate an App Login Biometric Validation API
- 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.