Skip to content

Skip active desktop session prompt when per-session MFA is enabled#54848

Merged
gzdunek merged 2 commits intomasterfrom
gzdunek/active-session-prompt-mfa
May 16, 2025
Merged

Skip active desktop session prompt when per-session MFA is enabled#54848
gzdunek merged 2 commits intomasterfrom
gzdunek/active-session-prompt-mfa

Conversation

@gzdunek
Copy link
Copy Markdown
Contributor

@gzdunek gzdunek commented May 15, 2025

It was reported that confirming two prompts when starting a desktop session can be annoying. To improve the user experience, we can only display the “another session is active” prompt when per-session MFA is disabled for the target desktop.

Closes #52613
Closes gravitational/customer-sensitive-requests#393

changelog: Disabled the "another session is active" prompt when per-session MFA is enabled, since MFA already enforces user confirmation when starting a desktop session

gzdunek added 2 commits May 15, 2025 16:22
We should check it for a resource's cluster ID (which may be a leaf cluster) not a static root cluster ID.
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from kimlisa May 15, 2025 21:40
@gzdunek gzdunek added this pull request to the merge queue May 16, 2025
Merged via the queue into master with commit 68c5033 May 16, 2025
45 checks passed
@gzdunek gzdunek deleted the gzdunek/active-session-prompt-mfa branch May 16, 2025 12:24
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@gzdunek See the table below for backport results.

Branch Result
branch/v16 Failed
branch/v17 Create PR

gzdunek added a commit that referenced this pull request May 19, 2025
…54848)

* Skip active desktop session prompt when per-session MFA is enabled

* Correctly verify per-session MFA requirement for leaf clusters

We should check it for a resource's cluster ID (which may be a leaf cluster) not a static root cluster ID.

(cherry picked from commit 68c5033)
github-merge-queue Bot pushed a commit that referenced this pull request May 22, 2025
…54848) (#54927)

* Skip active desktop session prompt when per-session MFA is enabled

* Correctly verify per-session MFA requirement for leaf clusters

We should check it for a resource's cluster ID (which may be a leaf cluster) not a static root cluster ID.

(cherry picked from commit 68c5033)
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.

Improve Windows login user experience for environments using Remote Desktop Session Host (>2 simultaneous users allowed)

3 participants