Sign-in: email and password option

Đang mở
#111 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeadantCo/answerLoopsdev

Tất cả issue của DeadantCo/answerLoopsdev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.