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

SSO Ceremony refactor #46983

Merged
merged 10 commits into from
Oct 7, 2024
Merged

SSO Ceremony refactor #46983

merged 10 commits into from
Oct 7, 2024

Conversation

Joerger
Copy link
Contributor

@Joerger Joerger commented Sep 30, 2024

Refactor SSO Ceremony so it can be useful outside of the single CLI login flow it is currently built for. Specifically, this new SSO ceremony can easily be modified for SSO MFA.

This PR should have no functional impact.

@Joerger Joerger added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v16 labels Sep 30, 2024
@github-actions github-actions bot added size/md tctl tctl - Teleport admin tool labels Sep 30, 2024
lib/client/sso.go Outdated Show resolved Hide resolved
lib/client/sso/ceremony.go Outdated Show resolved Hide resolved
lib/client/sso/ceremony.go Show resolved Hide resolved
lib/client/sso/ceremony.go Outdated Show resolved Hide resolved
@Joerger Joerger force-pushed the joerger/sso-ceremony-refactor branch from 5fafe17 to a45a181 Compare October 2, 2024 00:14
@Joerger Joerger mentioned this pull request Oct 2, 2024
@Joerger Joerger force-pushed the joerger/sso-ceremony-refactor branch 2 times, most recently from 6f3aff5 to 687f23d Compare October 2, 2024 00:57
@Joerger Joerger force-pushed the joerger/sso-ceremony-refactor branch from a7dc319 to 3ebb7f7 Compare October 5, 2024 02:02
@Joerger Joerger enabled auto-merge October 7, 2024 19:54
@Joerger Joerger added this pull request to the merge queue Oct 7, 2024
Merged via the queue into master with commit 9b6680c Oct 7, 2024
39 checks passed
@Joerger Joerger deleted the joerger/sso-ceremony-refactor branch October 7, 2024 20:30
@public-teleport-github-review-bot

@Joerger See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed

Joerger added a commit that referenced this pull request Oct 7, 2024
* Refactor SSO redirector for customization; add SSO MFA ceremony to redirector.

* Add customizable SSO ceremony.

* Create SSO login ceremony from client; Remove ProxySupportsKeyPolicyMessage for v17.

* Resolve comments.

* Refactor redirector closing.

* Add redirector tests.

* Add ceremony and redirector tests.

* Fix new copyright headers.

* Use slog.

* Fix lint.
@Joerger
Copy link
Contributor Author

Joerger commented Oct 7, 2024

Skipping v15 backport for now, as part of #39899 would need to be backported as well.

github-merge-queue bot pushed a commit that referenced this pull request Oct 16, 2024
* Fix Hardware Key Login in Teleport Connect (#46793)

* Reuse tc.NewSSHLogin in Teleport Connect for consistency.

* reuse sso login function.

* SSO Ceremony refactor (#46983)

* Refactor SSO redirector for customization; add SSO MFA ceremony to redirector.

* Add customizable SSO ceremony.

* Create SSO login ceremony from client; Remove ProxySupportsKeyPolicyMessage for v17.

* Resolve comments.

* Refactor redirector closing.

* Add redirector tests.

* Add ceremony and redirector tests.

* Fix new copyright headers.

* Use slog.

* Fix lint.

* Fix lint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v15 backport/branch/v16 no-changelog Indicates that a PR does not require a changelog entry size/md tctl tctl - Teleport admin tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants