Skip to content

Mahathi - Implement production identity validation flow Frontend - #5420

Open
mahathiganimi wants to merge 1 commit into
developmentfrom
feature/mahathi-prod-identity-validation-frontend
Open

Mahathi - Implement production identity validation flow Frontend#5420
mahathiganimi wants to merge 1 commit into
developmentfrom
feature/mahathi-prod-identity-validation-frontend

Conversation

@mahathiganimi

@mahathiganimi mahathiganimi commented Jul 27, 2026

Copy link
Copy Markdown

Description

Screenshot 2026-07-27 at 6 22 34 PM https://docs.google.com/document/d/1rZDo_yYs5rUyHDkA_3HfPxdiOLaRzmQ509gr6QA2kys/edit?tab=t.0

Related PRS (if any):

This frontend PR is related to the #2289 backend PR.

Main changes explained:

Added Production Identity verification UX in Create New User:

  1. Production email/password inputs
  2. Verify action with loading/error/success states
  3. Auto-population and lock of first name/last name/email after successful verify
  4. Sends productionVerificationToken on create request
    See UserProfileAdd.jsx
  5. Added read-only behavior for identity fields on profile edit when identityLocked is true in UserProfileEdit.jsx

How to test:

  1. Check into current branch
  2. Make sure to add REACT_APP_PRODUCTION_IDENTITY_VERIFICATION_ENABLED=true to HighestGoodNetwork .env file
  3. Checkout the related backend branch and start the backend.
  4. Do npm install and restart both servers, do npm run start:local on frontend to run this PR locally
  5. Log as admin user
  6. Navigate to dashboard→ OtherLinks→ UserManagement→ CreateNewUser
    a. Verify that the Production Identity section (Production Email, Production Password, and Verify Production Identity button) is visible.
    b. Enter valid Production credentials and click Verify Production Identity. Confirm that verification succeeds, the user's first name, last name, and email are auto-populated, and those fields become read-only.
    c. Repeat the verification using a non-existent Production email. Verify that an error is displayed indicating that no matching Production account exists.
    d. Repeat the verification using a valid Production email with an incorrect password. Verify that an authentication error is displayed indicating the credentials are invalid.

@netlify

netlify Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit fcd1c54
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a67e23182219e0008f4578a
😎 Deploy Preview https://deploy-preview-5420--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@mahathiganimi mahathiganimi changed the title Mahathi - Implement production identity validation flow Mahathi - Implement production identity validation flow Frontend Jul 27, 2026
@one-community one-community added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants