Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Aug 23, 2023

Conversation

AntonAM
Copy link
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.
Copy link
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
23 checks passed
@AntonAM AntonAM deleted the anton/desktop-mfa-before-connection branch August 23, 2023 18:02
@public-teleport-github-review-bot

@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.

None yet

3 participants