Sign-in: email and password option

Abierto
#111 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DeadantCo/answerLoopsdev

Todos los issues de DeadantCo/answerLoopsdev

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.