Sign-in: add bot protection to the sign-up and log-in page
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- authentication, security
Direzione di ricerca
Start with the sign-up and log-in page and the server-side sign-in action, then read the self-hosting docs under content/docs/ and the example env file. The issue doesn't pick a bot-protection provider, so settle that first with a maintainer. Done means that with the keys set, a missing or invalid check result is refused, with the keys unset sign-in is unchanged, and pnpm test and pnpm build pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Copied from DeadantCo/answerLoops#100 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/456 — originally opened by
@NathanTarberton 2026-10-23
Problem
The sign-up and log-in page is a public form that anyone, including scripts, can reach. Today nothing distinguishes a person from automated traffic before the sign-in flow starts, which invites abuse as we add more sign-in methods.
Scope
- Add a bot-protection check to the sign-up and log-in page that runs before a sign-in method starts.
- Make it optional and configured by environment variables, so self-hosted installs without the keys keep working and show no broken widget.
- Verify the result on the server in the sign-in action, not only in the browser.
- Keep the page usable on a 375px-wide phone, with no sideways scrolling and no extra clicks for real visitors where the check can run invisibly.
- Document the new variables in the self-hosting docs under
content/docs/and the example env file.
Acceptance criteria
- With the keys set, a sign-in attempt without a valid check result is refused with a clear message.
- With the keys unset, sign-in behaves exactly as it does today.
- Plan, interval, promo code and redirect still carry through after the check.
- Tests cover both the configured and unconfigured cases.
-
pnpm testandpnpm buildpass.
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.
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetForse già presa @sethr07 l’ha presa oggi. Apertaenhancement frontend help wanted
Difficoltà 2/5 Mezza giornata Idoneità per principianti 75/100
DeadantCo/answerLoopsdev#68 · 3 commenti ·
-
Widget: make the chat window fit on small phonesForse già presa @sethr07 l’ha presa oggi. Apertaenhancement frontend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DeadantCo/answerLoopsdev#67 · 9 commenti ·
-
Add 'select all' option to Slack channel picker in SettingsForse già presa @sethr07 l’ha presa oggi. Apertafrontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DeadantCo/answerLoopsdev#22 · 5 commenti ·
-
enhancement frontend help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
DeadantCo/answerLoopsdev#140 ·
Tutte le issue di DeadantCo/answerLoopsdev
Issue simili
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
lingdojo/kana-dojo#34545 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Blocklist addition requestApertablocklist addition
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
MetaMask/eth-phishing-detect#315455 ·
I maintainer di solito rispondono entro 1 giorno
-
area: telegram bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
griffinwork40/agent-afk#5275 ·
I maintainer di solito rispondono entro 1 giorno
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getopenscreen/openscreen#1667 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
erkamyaman/rust-anything#371 ·
I maintainer di solito rispondono entro 1 giorno