[PR #2492] AZ: Introduce a "credential version" to force old credentials to be deleted #24960

Closed
opened 2026-01-31 09:06:23 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/2492

State: closed
Merged: Yes


When we change the client ID, we're going to need to force people to log
in again.

We can do that either by:

  1. Trying to log in and refresh the user's token and failing (displaying
    a cryptic message like "you aren't on the internet, please get on the
    internet"), OR by...
  2. Getting out ahead of it, detecting when we would have failed for client
    ID (and other) reasons, and not trying at all.

This is option 2.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2492 **State:** closed **Merged:** Yes --- When we change the client ID, we're going to need to force people to log in again. We can do that either by: 1. Trying to log in and refresh the user's token and failing (displaying a cryptic message like "you aren't on the internet, please get on the internet"), **OR** by... 2. Getting out ahead of it, detecting when we would have failed for client ID (and other) reasons, and _not trying at all._ This is option 2.
claunia added the pull-request label 2026-01-31 09:06:23 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24960