Skip to content

[BUG] bug: Authentication issues (Sign-up broken, empty Magic Link validation, and non-functional Demo credentials) #105

Description

@JMR825

Description

While setting up and testing the application authentication flows locally and observing production, I encountered multiple critical bugs preventing users from creating accounts, using the Magic Link feature correctly, or logging in via demo credentials.

Bugs Encountered

Issue 1: Account Creation Failure

  1. Navigate to the Sign-Up page (local or production).
  2. Attempt to fill out the form and submit.
  3. Observe that registration fails or crashes due to missing/misconfigured authentication providers.

Issue 2: Missing Validation on Magic Link Form

  1. Navigate to the Sign-In / Magic Link page.
  2. Leave the email field completely empty.
  3. Click the "Send Magic Link" button.
  4. Observe that the UI incorrectly displays the success message: "Magic link sent! Check your email." without triggering any client-side validation or backend checks.

Issue 3: Demo Credentials Broken

  1. Attempt to log in using the provided demo/mock credentials.
  2. Observe that authentication fails, likely because the application expects a live Supabase authentication provider instance even during local UI/Prisma testing.

Expected Behavior

  1. Users should be able to register accounts locally or clear instructions should be provided if local auth needs to be mocked.
  2. The Magic Link form should have required field validation preventing submissions with an empty email input.
  3. Demo credentials should work seamlessly out of the box for local UI/UX testing.

Environment Details

  • OS: Windows
  • Database: Local PostgreSQL

Thank You

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions