Skip to content

Fix connection to dekstop access service when session MFA is required#30882

Merged
AntonAM merged 1 commit intomasterfrom
anton/desktop-mfa-before-connection
Aug 23, 2023
Merged

Fix connection to dekstop access service when session MFA is required#30882
AntonAM merged 1 commit intomasterfrom
anton/desktop-mfa-before-connection

Conversation

@AntonAM
Copy link
Copy Markdown
Contributor

@AntonAM AntonAM commented Aug 22, 2023

Recently introduced multiplexer listener for desktop access resulted in a problem with connection when session MFA was required - we initiated connection first, then tried to issue certificate, which could require MFA check and that would lead to timeout in multiplexer, since there was no data on the connection while user was doing MFA check and so multiplexer couldn't peek the data. This PR changes order of operation - now we first try to issue certificate (with MFA check if required) and only then initiate the connection.

Before this we initiated connection first, then tried to issue certificate,
which could require MFA check and that would lead to timeout in multiplexer,
since there was no data on the connection while user was doing MFA check.
@AntonAM AntonAM force-pushed the anton/desktop-mfa-before-connection branch from f32316d to e8f61c6 Compare August 22, 2023 23:08
@AntonAM AntonAM requested review from lxea and zmb3 August 22, 2023 23:50
@AntonAM AntonAM marked this pull request as ready for review August 22, 2023 23:50
@github-actions github-actions Bot requested a review from flyinghermit August 22, 2023 23:50
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 left a comment

Choose a reason for hiding this comment

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

Works a charm, thanks!

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from lxea August 23, 2023 17:40
@AntonAM AntonAM added this pull request to the merge queue Aug 23, 2023
Merged via the queue into master with commit 1c5d0a7 Aug 23, 2023
@AntonAM AntonAM deleted the anton/desktop-mfa-before-connection branch August 23, 2023 18:02
@public-teleport-github-review-bot
Copy link
Copy Markdown

@AntonAM See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 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.

3 participants