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

Include legacy authentication option for npm login #261

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,15 @@ $ npm config set registry https://artifacts.developer.gov.bc.ca/artifactory/api/

```bash
$ npm login
Press ENTER to open in the browser...
```

*To authenticate with an Artifactory Service Account:*

```bash
$ npm login --auth-type=legacy
Username: <username>
Password:
Email: <username>@<namespace>.local
```

3. Once the authentication is complete, you can pull artifacts from this registry:
Expand Down
Loading