Skip to content

Connect: clear client cache only after a successful login#61036

Merged
gzdunek merged 1 commit intomasterfrom
gzdunek/clear-client-cache
Nov 6, 2025
Merged

Connect: clear client cache only after a successful login#61036
gzdunek merged 1 commit intomasterfrom
gzdunek/clear-client-cache

Conversation

@gzdunek
Copy link
Copy Markdown
Contributor

@gzdunek gzdunek commented Nov 5, 2025

Closes #44059
Supersedes #59370 (comment)

The easiest way to test this is to use two users with different roles that grant access to different resources.

  1. Log in as the first user.
  2. Re-login as the second user using the "Refresh session" button in the profile switcher.
  3. Refresh the unified resources view. You should now see the resources for the second user.

Changelog: Fixed an issue where resources in Teleport Connect were not always refreshed correctly after re-logging as a different user

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about adding "as different user" to the changelog? The current version makes it sound more concerning than it really is. 😅

I'm also thinking if we need to include the changelog here at all. 🤔 OTOH it's good to have a point of reference in the changelog in case this change breaks something.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about adding "as different user" to the changelog?

👍

OTOH it's good to have a point of reference in the changelog in case this change breaks something.

Agree, let's keep it.

@gzdunek gzdunek enabled auto-merge November 6, 2025 15:48
@gzdunek gzdunek added this pull request to the merge queue Nov 6, 2025
Merged via the queue into master with commit c39f26b Nov 6, 2025
46 checks passed
@gzdunek gzdunek deleted the gzdunek/clear-client-cache branch November 6, 2025 16:10
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@gzdunek See the table below for backport results.

Branch Result
branch/v17 Create PR
branch/v18 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connect: Clear client cache only after a successful login

3 participants