ZIm/crates/client/src
Antonio Scandurra 7217439c97
Don't trigger authentication flow unless credentials expired (#35570)
This fixes a regression introduced in
https://github.com/zed-industries/zed/pull/35471, where we treated
stored credentials as invalid when failing to retrieve the authenticated
user for any reason. This had the side effect of triggering the auth
flow even when e.g. the client/server had temporary networking issues.

This pull request changes the logic to only trigger authentication when
getting a 401 from the server.

Release Notes:

- N/A
2025-08-04 08:41:23 +00:00
..
proxy Revert "client: Fix an issue where non-IP proxy URLs didn’t resolve c… (#33013) 2025-06-19 08:56:00 +00:00
telemetry Use Instant not chrono for telemetry (#20756) 2024-11-19 08:23:12 -07:00
client.rs Don't trigger authentication flow unless credentials expired (#35570) 2025-08-04 08:41:23 +00:00
proxy.rs Revert "client: Fix an issue where non-IP proxy URLs didn’t resolve c… (#33013) 2025-06-19 08:56:00 +00:00
telemetry.rs Fix variable name in project type reporting (#35045) 2025-07-24 17:08:02 +00:00
test.rs Start separating authentication from connection to collab (#35471) 2025-08-01 17:37:38 +00:00
user.rs Start separating authentication from connection to collab (#35471) 2025-08-01 17:37:38 +00:00
zed_urls.rs Add fast-follows to the AI onboarding flow (#34737) 2025-07-22 02:09:05 -03:00