[bug] Preserve search and Ask URLs through login redirects
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- authentication, search
Direzione di ricerca
No files or tests are named. Reproduce the redirect from /search?query=authentication and an Ask/chat URL, then trace the login links and post-authentication redirect handling; done means credentials, SSO, and magic-link flows preserve the exact path and query string.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
When an unauthenticated user is redirected to login from a search or Ask/chat page, the original URL is not consistently preserved.
The user may be redirected to / after signing in, or query parameters may be dropped because some login links preserve only the pathname.
Expected behavior: after successful authentication, the user should return to the exact original path and query string.
To reproduce
- Disable anonymous access.
- Sign out or open an incognito window.
- Open a URL such as
/search?query=authentication. - Complete login using credentials, SSO, or a magic link.
- Observe the destination after authentication.
Actual result: the user lands at /, or the original search/chat query parameters are missing.
Expected result: the user returns to /search?query=authentication or the corresponding Ask/chat URL unchanged.
Sourcebot deployment information
Sourcebot version v5.1.10
Additional information
No response
- Lingua principale
- TypeScript
- Stelle
- 3.9k
- Fork
- 374
- Merge medio
- 21h 18m
- PR unite (30g)
- 39
Guida per i contributori
Apri 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 sourcebot-dev/sourcebot
-
bug triage needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
sourcebot-dev/sourcebot#1681 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
sourcebot-dev/sourcebot#1633 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sourcebot-dev/sourcebot#1384 · 4 commenti ·
-
ask_sb bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
sourcebot-dev/sourcebot#1137 · 4 commenti ·
-
bug triage needed
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
sourcebot-dev/sourcebot#1661 · 1 commento ·
Tutte le issue di sourcebot-dev/sourcebot
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fil-donadoni/tolaria#4409 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
corsairdev/corsair#1764 ·