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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Turn off progress bar when using web based authorization #5438

Conversation

sandeepmeduru
Copy link
Contributor

@sandeepmeduru sandeepmeduru commented Aug 29, 2022

Support for web based authorization was added for all commands as part of #5098. At that time only publish supported web based authorization on registry side and to fix unintended output after the URL we disabled progress bar for publish as helpfully suggested by @wraithgar in this Slack thread.

As part of https://github.com/github/npm/issues/5736 we are updating registry to support web based authorization for all commands which require TFA. To support that change this PR disables progress bar in a central place within otplease when registry requires WebOTP to avoid the additional unintended output displayed after URL as seen in 馃憞馃徎 screen recordings.

Before Fix

Screen.Recording.2022-08-29.at.7.03.10.PM.mov

After Fix

Screen.Recording.2022-08-29.at.7.06.59.PM.mov

References

Resolves github/npm#6111

cc @jumoel @neeldani @MylesBorins

@sandeepmeduru sandeepmeduru marked this pull request as ready for review August 29, 2022 13:44
@sandeepmeduru sandeepmeduru requested a review from a team as a code owner August 29, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants