Sign-in: email and password option

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start with CONTRIBUTING.md, then read lib/auth/providers.ts to see how the existing Google provider is wired into the log-in page. The work spans sign-up, email verification, password reset, rate limiting and docs under content/docs/, so it needs design agreement before code. Done means the acceptance criteria pass, including tests for sign-up, log-in, reset and the rate limit, with pnpm test and pnpm build succeeding.

Written by the indexing model from the issue text.

Description

backend enhancement frontend

Copied from DeadantCo/answerLoops#101 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/457 — originally opened by @NathanTarbert on 2026-10-23

Problem

Some people cannot or would rather not sign in through a third-party account. Right now the only sign-in method is Google, and the app has no password storage at all.

Scope

  • Add an email and password option to the provider list in lib/auth/providers.ts and the log-in page.
  • Store passwords only as strong salted hashes, with a sign-up flow, a password-reset flow by email, rate limiting on attempts, and a minimum-strength check.
  • Require email verification before the account can be used.
  • Reuse the existing account provisioning so new users get an organization the same way as other methods.
  • Carry plan, billing period, promo code and redirect through as the other methods do.
  • Update the data-model and self-hosting docs under content/docs/ for the new table or columns and any new variables.
  • Email magic link sign-in is tracked separately in #30 and is out of scope here.

Acceptance criteria

  • A person can sign up, verify their email, log in, and reset a forgotten password.
  • Repeated failed attempts are rate limited.
  • The option appears only when email sending is configured on the deployment.
  • Tests cover sign-up, log-in, reset and the rate limit.
  • pnpm test and pnpm build pass.

Related: #370, #371

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeadantCo/answerLoopsdev

All issues in DeadantCo/answerLoopsdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.