fix(mobile): doppeltes handleCallback nach Login #158
No reviewers
Labels
No labels
app/archiv
app/einkaufslisten
app/imap-client
app/wissensbasis
arch-answered
arch-question
area/api
area/auth
area/infra
area/mobile
area/shared
area/ui
area/web
portfolio-status
prio/high
prio/low
prio/medium
roadmap/public
size/l
size/m
size/s
size/xl
size/xs
status/blocked
status/needs-info
type/bug
type/chore
type/docs
type/feature
type/idea
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
admin-mrrm/mrrmlabapp!158
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "157-fix-double-handle-callback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
performLoginundauth/callback.tsxriefen beideauth.handleCallback()auf. Beim zweiten Aufruf warpendingLoginbereits gelöscht → Exception →router.replace("/login")→ User landet wieder auf Login-Screen.Fix
performLoginöffnet nur noch den Browser, keinhandleCallbackauth/callback.tsxHref,useRouter,useLocalSearchParams) auslogin.tsxentferntCloses #157
performLogin rief handleCallback auf, danach lief auth/callback.tsx und fand kein pendingLogin mehr → Fehler → router.replace('/login'). performLogin öffnet jetzt nur den Browser; den Callback-Austausch und die Navigation übernimmt ausschließlich auth/callback.tsx. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>