Skip to content

Add SSO MFA support for desktop access#56019

Merged
Joerger merged 4 commits intomasterfrom
joerger/allow-sso-mfa
Jun 24, 2025
Merged

Add SSO MFA support for desktop access#56019
Joerger merged 4 commits intomasterfrom
joerger/allow-sso-mfa

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Jun 24, 2025

SSO MFA support was not fully implemented on the backend for desktop access, so the WebUI would not receive SSO MFA challenges. As a result, if the user did not have webauthn configured, it had no MFA challenges to prompt for and would fail with a per session MFA error.

Changelog: Add SSO MFA support for desktop access

Closes #55436

Comment thread lib/web/desktop.go Outdated
Co-authored-by: Przemko Robakowski <przemko.robakowski@goteleport.com>
Comment thread lib/web/desktop.go Outdated
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from eriktate June 24, 2025 19:00
Comment thread lib/web/desktop.go
ProxyAddress: h.PublicProxyAddr(),
}, nil
},
PromptConstructor: func(...mfa.PromptOpt) mfa.Prompt {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do SSOMFACeremonyConstructor and PromptConstructor run on the same goroutine?

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.

Yes. If the concern is that the channelID is set in SSOMFACeremonyConstructor, I believe I just did that so we aren't generating unused UUID's when SSO MFA is not an option. Seems like an unnecessary and bug prone optimization in hindsight.

@Joerger Joerger enabled auto-merge June 24, 2025 21:31
@Joerger Joerger added this pull request to the merge queue Jun 24, 2025
Merged via the queue into master with commit 6a807b1 Jun 24, 2025
40 checks passed
@Joerger Joerger deleted the joerger/allow-sso-mfa branch June 24, 2025 22:28
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

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

SSO MFA does not work in desktop sessions

4 participants