LogoLogo
v1.0
v1.0
  • mGramSeva
    • Technology
    • Architecture
    • Demo video
    • 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
      • 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
        • 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
      • User Docs
        • User Manual
    • Installation
    • Configuration
  • 🚻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
  • OTP Request
  • Files Path
  • Field Validation
  • API Details
  • Reset Password
  • User Interaction on Screen
  • Password Hint Card
  • Files Path
  • Field Validations
  • API Details
  1. mGramSeva
  2. Product Docs
  3. Technical User Docs
  4. Tech User Manual

Forgot Password

PreviousHome PageNextUpdate Password FTL

Last updated 2 years ago

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

OTP Request

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

Follow the steps below to set a new password -

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

  • Enter a valid mobile number

Other steps are explained in the Reset Password Section.

Files Path

Primary Files

Field Validation

SL

Fields

Validation

1

Phone Number*

r'^[0-9]+$'

API Details

SL.No.
End Point
Request Method
Request Info

1

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

SL.No.
Widgets
File Path
Description

1

BuildTextField

Text Field

2

Button

Button

Reset Password

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

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

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

SL.No.
Fields
Validations

1

Enter the OTP sent *

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

2

Enter a New Password*

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

3

Confirm New Password

Match with New Password

API Details

SL.No.
End Point
Request Method
Request Info

1

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

SL.No.
Widgets
File Path
Description

1

BuildTextField

Text Field

2

BottomButtonBar

Button

3

PasswordHint

Password Hint Card

​​

​​

Primary Files

​All content on this page by is licensed under a .

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
punjab-mgramseva/Resetpassword.dart at develop · egovernments/punjab-mgramseva
​​
eGov Foundation
Creative Commons Attribution 4.0 International License
​punjab-mgramseva/TextFieldBuilder.dart at develop · egovernments/punjab-mgramseva
​punjab-mgramseva/Button.dart at develop · egovernments/punjab-mgramseva