DIGIT mGramSeva
PlatformDomainsAcademyDesign SystemFeedback
v1.2
v1.2
  • Introducing mGramSeva
    • Platform
      • Release Notes
        • Web Caching
        • Service Build Updates
        • MDMS Configuration & Migration Updates
        • Test Cases
        • Release Checklist
        • Implementation Checklist
      • Technology
      • Architecture
      • Demo video
      • Configure mGramSeva
        • Vendor Registry Service
        • User Events Service
        • eChallans Service
        • Water Calculator Service
        • Property Services
        • Billing Service
        • Apportion Service
      • Technical User Docs
        • Application Structure
        • Firebase Analytics Integration
        • Integration Testing
        • Integration Testing With Github Actions
        • Backend Services
          • mGramSeva - Water Services
          • mGramSeva - Water Service Calculator
          • mGramSeva e-Challan Service
          • mGramSeva - User Service
          • mGramSeva - Billing Service
          • mGramSeva - User OTP
          • iFix Adapter Integration Service
          • mGramSeva - Rollout Dashboard
          • mGramSeva Scheduler
          • mGramSeva- Services Re-Indexing
          • mGramSeva Dashboard
          • Events Push To IFIX Adapter
        • Tech User Manual
          • Language Selection
          • Login
          • Change Password
          • Edit Profile
          • Home Page
          • Forgot Password
          • Update Password FTL
          • Generate Bill
          • Search Connection
          • Consumer Details
            • Create Consumer
            • Update Consumer
          • Expenses
            • Add Expenses
            • Search Expense Bills
            • Modify Expenses
          • Dashboards
            • Monthly Dashboard
            • Collections Dashboard
            • Expenditure Dashboard
          • Collect Payment
          • Consumer Feedback
          • Household Register
          • Bluetooth Thermal Printer Integration
        • Application Permissions & Dependencies
        • mGramSeva UI
          • UI Mockups
          • mGramSeva UI
            • mGramSeva - Advance Changes
            • mGramSeva Penalty Changes
      • Installation
      • Configuration
    • Enablement toolkits
      • AWS Installation
        • Setup AWS Account
        • Certificate Purchase
        • Setup Git Repository
        • Domain Name Configuration
        • Create Git Account In The Client Name
      • Setting up Services
        • Getting Started With DIGIT
        • Creating Users
        • Loading Employees For mGramSeva
        • Loading Consumers For mGramSeva
        • Localisation Module
        • Updating Master Rate for Mgramseva
        • Create Consumer API
        • Create User API
        • SMS Template
        • mGramSeva MDMS
        • Create New Tenant
        • Workflow
    • Product Docs
      • Functional Docs
        • Login & Forgot Password
        • User Roles & Home Screen
        • Create Consumer
        • Search Consumer
        • Edit Consumer
        • View Consumer
        • Billing - Bulk Demand Generation
        • Billing - Metered Connection
        • Revenue Collection - Offline
        • Expenditure - Add Expense
        • Expenditure - Modify Expense
        • User Onboarding - Bulk Upload
        • User Onboarding/Walkthrough
        • Feedback - Post Payment
        • SMS Notifications
        • Home Page Notifications
        • Edit User Profile
        • Bill and Receipt PDF
        • Update Expense Search
        • Bulk Demand Generation For Non-Metered Connection
        • Demand/Bill Generation For Metered Connection
        • Household Register
        • Tabular Dashboard - Expense
        • Tabular Dashboard - Collection
        • Download Bills & Receipt
        • App Force Update
        • HRMS
        • Advance Changes
      • User Docs
        • User Manual
  • 🚻Community
    • Roadmap
    • Source Code
    • Discussion
    • Events
    • Training & Certification
Powered by GitBook

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.

On this page
  • Overview
  • OTP Request
  • Files Path
  • Field Validation
  • API Details
  • Reset Password
  • User Interaction On Screen
  • Password Hint Card
  • Files Path
  • Field Validations
  • API Details
  1. Introducing mGramSeva
  2. Platform
  3. Technical User Docs
  4. Tech User Manual

Forgot Password

PreviousHome PageNextUpdate Password FTL

Last updated 2 years ago

Overview

Users are redirected to this screen once they click on the Forgot Password link on the home screen.

OTP Request

This feature allows users to request OTP by entering a valid (registered) mobile number.

Follow the steps below to set a new password -

  • Click on the Forgot Password link visible on the login screen

  • Enter the registered mobile number

The remaining steps are explained in the section.

Files Path

Primary Files

Field Validation

Fields

Validation

Phone Number*

r'^[0-9]+$'

API Details

End Point
Request Method
Request Info

user-otp/v1/_send

POST

"otp": { "mobileNumber": {}, "tenantId": {}, "type": "passwordreset", "userType": "Employee" }

Stack

2 → Language Selection Screen. + Login Screen + ForgotPassword

Pop → Login Screen Screen

Widgets utilised from Library

Widgets
File Path
Description

BuildTextField

Text Field

Button

Button

Reset Password

Users are redirected to this screen once they click on the Continue button on Forgot Password screen.

Link - → {base url}/mgramseva/selectLanguage/login/forgotPassword/resetPassword

User Interaction On Screen

  • Enter the OTP sent on the user’s 10-digit mobile number.

  • Set the new password for logging into the application.

  • Click on Change Password to apply new password credentials for the user.

Password Hint Card

This feature helps to provide the users with a clear indication of what the password should contain. Acceptable passwords must contain -

  • Minimum 6 digits

  • At least one special character ( !#$%^&...)

  • At least one letter

  • At least one number

Files Path

Field Validations

Fields
Validations

Enter the OTP sent *

r'^[0-9]+$' , 6 digit

Enter a New Password*

r'^(?=.*?[A-Za-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{6,}$'

Confirm New Password

Match with New Password

API Details

End Point
Request Method
Request Info

user/password/nologin/_update

POST

"otpReference": {}, "userName": {}, "newPassword": {}, "tenantId": {}, "type": “Employee”

Stack

1 → Language Selection Screen. + Login Screen + Forgot Password + Reset Password.

Pop → Forgot Password Screen.

Widgets utilised from Library

Widgets
File Path
Description

BuildTextField

Text Field

BottomButtonBar

Button

PasswordHint

Password Hint Card

​​

​​

Primary Files

https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/TextFieldBuilder.dart
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/BottonButtonBar.dart
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/PasswordHint.dart
punjab-mgramseva/ForgotPassword.dart at develop · egovernments/punjab-mgramseva
Reset Password
punjab-mgramseva/Resetpassword.dart at develop · egovernments/punjab-mgramseva
​punjab-mgramseva/TextFieldBuilder.dart at develop · egovernments/punjab-mgramseva
​punjab-mgramseva/Button.dart at develop · egovernments/punjab-mgramseva