Skip to content

feat: SSO MFA - Incorporate SSO into cli mfa method preferences#47839

Closed
Joerger wants to merge 1 commit intojoerger/cli-prompt-refactorfrom
joerger/mfa-method-preferences
Closed

feat: SSO MFA - Incorporate SSO into cli mfa method preferences#47839
Joerger wants to merge 1 commit intojoerger/cli-prompt-refactorfrom
joerger/mfa-method-preferences

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Oct 23, 2024

Part of the implementation of #44699

Implements the UX proposed in the RFD for CLI prompts.

Depends on #47874

@aws-amplify-us-west-2
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-47839.d3pp5qlev8mo18.amplifyapp.com

@Joerger Joerger added the no-changelog Indicates that a PR does not require a changelog entry label Oct 23, 2024
@Joerger Joerger force-pushed the joerger/mfa-method-preferences branch 3 times, most recently from c824e93 to 2420095 Compare October 23, 2024 02:51
@Joerger Joerger requested a review from codingllama October 23, 2024 03:17
@Joerger Joerger mentioned this pull request Oct 23, 2024
Comment thread lib/client/api.go Outdated
Comment thread lib/client/mfa/cli.go Outdated
Comment thread lib/client/mfa/cli.go
Comment thread lib/client/mfa/cli.go Outdated
Comment thread lib/client/mfa/cli.go Outdated
Comment thread lib/client/mfa/cli.go
Comment thread lib/client/mfa/cli.go
Comment thread lib/teleterm/daemon/mfaprompt.go Outdated
@Joerger Joerger force-pushed the joerger/mfa-method-preferences branch from 9df809b to c95d128 Compare October 23, 2024 20:33
@Joerger Joerger force-pushed the joerger/mfa-method-preferences branch from b673e04 to 913a35c Compare October 23, 2024 20:57
@Joerger Joerger changed the base branch from master to joerger/cli-prompt-refactor October 23, 2024 20:57
@Joerger Joerger requested a review from codingllama October 23, 2024 20:57
Comment thread lib/client/mfa/cli.go
Comment thread lib/client/mfa/cli.go

promptOTP := chal.TOTP != nil
promptWebauthn := chal.WebauthnChallenge != nil
promptSSO := false // TODO(Joerger): check for SSO challenge once added in separate PR.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I do appreciate the small change but it looks like we are mainly adding dead code to this file. Would it make sense to do a bit more here, so at least we can test the "SSO not implemented" error? Or maybe move some changes to a PR where they are effective?

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.

Sure, in that case I'll merge this into #46982

@Joerger Joerger closed this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants