[PR #11431] fix(mobile): mobile logging out randomly #13232

Closed
opened 2026-02-05 15:11:13 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/11431

State: closed
Merged: Yes


Fixes #2980
Fixes #9745
Fixes #8146

This PR simplifies and fixes the issue of occasionally logging out the user when the .well-know endpoint or the getMyUser endpoint returns a status code other than 503 when it cannot be reached. We should now always login provided we have a local version of the user (one successful login has occurred previously) and the API doesn't return a 401 (Auth token has been cancelled)

**Original Pull Request:** https://github.com/immich-app/immich/pull/11431 **State:** closed **Merged:** Yes --- Fixes #2980 Fixes #9745 Fixes #8146 This PR simplifies and fixes the issue of occasionally logging out the user when the `.well-know` endpoint or the getMyUser endpoint returns a status code other than `503` when it cannot be reached. We should now always login provided we have a local version of the user (one successful login has occurred previously) and the API doesn't return a 401 (Auth token has been cancelled)
OVERLORD added the pull-request label 2026-02-05 15:11:13 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#13232