[v15]: Backport the new wizard for adding authentication devices#38535
[v15]: Backport the new wizard for adding authentication devices#38535bl-nero merged 5 commits intobranch/v15from
Conversation
* Add an option to enable a new Add Device dialog design Also deduplicate code from storageService functions that parse JSON. * lint
* A wizard for adding authentication devices * Hide changes between localStorage flag * Review
* Add capability of adding MFA to the new auth device wizard * Review * Review * License
* Add capability of adding MFA to the new auth device wizard * Review * Review * Make the auth device wizard look pretty * License * Review * Fix lint
…#38393) * Remove the old AddDevice dialog Also cleans up the accompanying local storage flag. * Rename `canAddMFA` Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com> * Update a success message Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com> * review * Review --------- Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
|
@avatus To test it, please go to the account settings screen and try adding passkeys and MFA devices. Make sure that you can verify your identity using various methods. Corner cases:
|
|
I tested as many paths as I could think of and didn't run into anything that seemed out of the ordinary. So, LGTM. a couple things that errored for me (but i believe are expected and/or my fault)
|
|
Thank you, @avatus!
Yeah, we have never supported this scenario in any way other than relying on internal processes in users' organizations.
That's a good point. I'll look into it, but my gut says it's not worth changing the data model constraints just because of this. |
gzdunek
left a comment
There was a problem hiding this comment.
I haven't tested it and only went over the commits, everything appears to be fine.
This is a combined backport of the following pull requests:
There was 1 conflict to resolve - between #38393 and #37743. The conflict appeared in the code that is being removed, as the conflicting PR was a bugfix on the old dialog. The conflict was resolved by removing the file.
Do not submit until tested by @avatus.
Contributes to #37616
Changelog: Updated the dialog for adding new authentication methods in the account settings screen.