Forgot Login ID
📘 Overview
The Forgot Login ID functionality allows users to retrieve their Login ID using an alternative verified identifier, such as an email address. This functionality is essential for users who remember their password but have forgotten their Login ID.
🎯 Purpose
- 🔍 Facilitate Login ID recovery for users.
- 📧 Securely deliver Login ID to the user's verified email.
- 🛡 Enhance user accessibility and account recovery processes.
📱 UI Guidelines
The app developer must provide a clear, user-friendly interface where users can input their verified email address to receive their Login ID.
⚙️ API Flow
Step-by-Step
- User Input: User provides their registered email ID.
- API Call: Invoke
forgotLoginIdwith email ID. - SDK Response: Triggers
onForgotLoginIDStatusevent. - Developer Action: Display success or error message based on SDK response.
forgotLoginId API
forgotLoginId API📥 Payload Fields
| Field | Type | Description |
|---|---|---|
| requestType | String | Mode of request (currently supports "EMAILID") |
| requestData | String | The user's registered email address |
🚨 Error Codes
| Code | Description | Developer Action |
|---|---|---|
| 100 | Success – Login ID sent | Display success message |
| 101 | No user found | Inform the user to check email or register |
| 113 | Server error | Prompt retry later |
| 126 | User inactive | Suggest contacting support |
| 127 | User blocked | Suggest contacting administrator |
💬 Sample Code by Platform
React Native
RdnaClient.forgotLoginID("EMAILID", "[email protected]", (syncResponse) => {
console.log(syncResponse);
});Flutter
rdnaClient.forgotLoginID("EMAILID", "[email protected]");Cordova
com.uniken.rdnaplugin.RdnaClient.ForgotLoginID(
successCallback,
errorCallback,
["EMAILID", "[email protected]"]
);Native Android
rdnaClient.forgotLoginID("EMAILID", "[email protected]");Native iOS (Objective-C)
[rdnaInstance forgotLoginID:@"EMAILID" requestData:@"[email protected]"];📨 Event: onForgotLoginIDStatus
onForgotLoginIDStatusTriggered after calling forgotLoginId, providing the status of the Login ID retrieval.
Sample Payload:
{
"status": {
"statusCode": 100,
"statusMessage": "LoginId sent to provided EmailId"
},
"error": {
"longErrorCode": 0,
"shortErrorCode": 0,
"errorString": "Success"
}
}✅ Actions on Success and Failure
- On Success: Notify the user that their Login ID has been emailed.
- On Failure: Clearly indicate the error and offer possible next steps (retry, contact support).
Updated 7 months ago
