High performance self-hosted photo and video management solution.
fix(mobile): don't block app open on slow validateAccessToken (#28405)
* fix(mobile): don't block app open on slow validateAccessToken AuthGuard.onNavigation was async so auto_route awaited the body through validateAccessToken's OS timeout. now it's sync and the validate runs in bg. kicks to login on 401. * fix(mobile): handle re-login race in AuthGuard validate if user logs out + logs back in during a slow validate, the old 401 was logging them out again. now we check the token hasn't changed before redirecting, and dedupe in-flight calls. --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
S
Santo Shakil committed
b0315487911d02c8cfb6dda618c6774aee74e331
Parent: fcea617
Committed by GitHub <noreply@github.com>
on 5/13/2026, 4:52:43 PM