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

mfa: better OTP registration flow on CLI #6567

Merged
merged 2 commits into from
Apr 27, 2021
Merged

Conversation

awly
Copy link
Contributor

@awly awly commented Apr 22, 2021

Several improvements:

  • show a QR code in the system image viewer (linux and mac only)
  • print an OTP URL in addition to individual fields (some apps accept
    that as input)
  • use cluster name as Issuer instead of "Teleport"

Updates #5878

@webvictim or @benarent, if you have access to a mac, can you try tsh mfa add --type=totp with this PR?
Does the QR code open up?

@awly awly added the ux label Apr 22, 2021
@awly awly added the mfa Issues related to Multi Factor Authentication label Apr 22, 2021
@awly awly requested review from benarent and webvictim April 23, 2021 17:24
@benarent
Copy link
Contributor

I've DMed feedback, but

print an OTP URL in addition to individual fields (some apps accept
that as input)

^ this worked with 1Password one-time token.

@awly awly force-pushed the andrew/otp-register-ux branch 3 times, most recently from 2ecfebc to 1c50fce Compare April 23, 2021 18:52
Copy link
Contributor

@benarent benarent left a comment

Choose a reason for hiding this comment

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

Tested the rest of the UX for CLI using both iTerm and Macs terminal and was able to add a new MFA device.

Several improvements:
- show a QR code in the system image viewer
- print an OTP URL in addition to individual fields (some apps accept
  that as input)
- use cluster name as `Issuer` instead of "Teleport"
@awly awly force-pushed the andrew/otp-register-ux branch from 1c50fce to 7dc3cb6 Compare April 23, 2021 19:24
@awly awly enabled auto-merge (squash) April 27, 2021 17:29
@awly awly merged commit 4b11dc4 into master Apr 27, 2021
@awly awly deleted the andrew/otp-register-ux branch April 27, 2021 17:42
awly pushed a commit that referenced this pull request Apr 27, 2021
Several improvements:
- show a QR code in the system image viewer
- print an OTP URL in addition to individual fields (some apps accept
  that as input)
- use cluster name as `Issuer` instead of "Teleport"
awly pushed a commit that referenced this pull request Apr 28, 2021
Several improvements:
- show a QR code in the system image viewer
- print an OTP URL in addition to individual fields (some apps accept
  that as input)
- use cluster name as `Issuer` instead of "Teleport"
awly pushed a commit that referenced this pull request Apr 28, 2021
Several improvements:
- show a QR code in the system image viewer
- print an OTP URL in addition to individual fields (some apps accept
  that as input)
- use cluster name as `Issuer` instead of "Teleport"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-required mfa Issues related to Multi Factor Authentication ux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants