Urgent: Fix Next.js EHR Lock Issue

Posted 3 hours ago

Worldwide

Summary

Summary We need an urgent production bug fix in a Next.js app (Vercel + AWS Cognito + Supabase). Login succeeds, but clicking Open EHR shows “Production EHR access locked” (and some EHR paths may 404). Need an experienced developer to trace and fix route guard/middleware/page-lock logic and restore authorized owner access to the EHR route for non-PHI demo testing. Scope / Tasks Reproduce bug in production. Identify exact lock enforcement point (middleware, route guard, or page conditional). Fix lock condition so authorized owner can access /ehr (non-PHI demo mode only). Verify production env var behavior (including NEXT_PUBLIC_RLTH_EHR_DEMO_ENABLED). Fix Open EHR button/link target to valid route (no 404). Deploy and validate with owner login. Provide handoff note: changed files, required env vars, rollback steps. Acceptance Criteria Owner can log in and open EHR dashboard (no lock screen). No EHR route 404 from the primary Open EHR flow. No PHI used in testing. Clear documentation of fix + rollback. Budget/Timeline Fixed price: $100 (consider up to $150 for same-day completion). Start immediately; complete today if possible. Required Experience Next.js production debugging on Vercel AWS Cognito token/session/claims integration Supabase + auth/role-aware gating patterns Screening Questions Share one similar Next.js middleware/route-guard bug you fixed on Vercel. How would you isolate whether this is env, auth claims, or routing in first 60 minutes? Can you complete fixed-price at $100 today Confirm you will provide changed-files list and rollback steps.

  • $100.00

    Fixed-price
  • Intermediate
    Experience Level
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
WordPress
PHP
Nice-to-have skills
JavaScript
Linux System Administration
Activity on this job
  • Proposals:20 to 50
  • Last viewed by client:3 hours ago
  • Interviewing:
    3
  • Invites sent:
    3
  • Unanswered invites:
    0
About the client
Member since May 29, 2026
  • USA
    Yonkers12:50 PM
  • 1 hire, 1 active

Explore similar jobs on Upwork

Shopify Website Development for Arc GISHourly‐ Posted 1 month ago
HTML
Web Development
Shopify
Shopify Templates
Create Engaging Ads for SaaS Web AppFixed-price‐ Posted 2 weeks ago
HTML5
JavaScript
Web Design
Graphic Design

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo