gray-mueller / gray-mueller/flower-delivery-app-react-js
Login Fails for All Emails Except Demo Customer Email
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
In the customer app, users are unable to log in using any email address other than the pre-configured demo customer email. Attempts to log in with a valid registered email result in an error or no response, effectively locking out real users.
To Reproduce
Steps to reproduce the behavior:
Open the customer app
Go to the email login screen
Enter any email other than the demo email (e.g., testuser@gmail.com)
Enter a valid password and attempt to log in
Observe that the login fails with an error
Expected behavior
Users should be able to log in with any valid, registered email address, not just the demo account.
Screenshots
XRecorder_20250619_04.mp4
Smartphone (please complete the following information):
Device: Samsung A15
OS: Android 14
Additional context
This issue may be caused by hardcoded logic tied to the demo account, authentication configuration errors, or backend user validation bugs. It critically affects usability and needs to be resolved to enable access for real customers.
Contributor guide
Research direction
No source files or tests are named. Start at the customer app's email login screen and trace authentication for a registered non-demo email, comparing it with the demo account path. Done means valid registered emails can log in successfully on the reported Android setup, with the relevant failure covered by verification or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100