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

  1. User Input: User provides their registered email ID.
  2. API Call: Invoke forgotLoginId with email ID.
  3. SDK Response: Triggers onForgotLoginIDStatus event.
  4. Developer Action: Display success or error message based on SDK response.

forgotLoginId API

📥 Payload Fields

FieldTypeDescription
requestTypeStringMode of request (currently supports "EMAILID")
requestDataStringThe user's registered email address

🚨 Error Codes

CodeDescriptionDeveloper Action
100Success – Login ID sentDisplay success message
101No user foundInform the user to check email or register
113Server errorPrompt retry later
126User inactiveSuggest contacting support
127User blockedSuggest 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

Triggered 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).