Skip to content

[BUG] --otp should infer--auth-type=legacy #624

@MylesBorins

Description

@MylesBorins

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

with the new default --auth-type being web in npm 9 we have unintentionally broken workflows that are using --otp, which has no function in the web auth-type.

Expected Behavior

let's have --otp infer --auth-type=web to unbreak workflows and fix expected beahvior

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • npm:
  • Node:
  • OS:
  • platform:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions