azure-devops-npm-auth icon indicating copy to clipboard operation
azure-devops-npm-auth copied to clipboard

Uses the OAuth2 device code flow to authenticate against the Azure DevOps artifact private registry.

Results 14 azure-devops-npm-auth issues
Sort by recently updated
recently updated
newest added

Fix #27. Azure Artifacts feed response has `"x-vss-resourcetenant"` header, which we can read the `tenantId` from if it's not set in CLI arguments. Set default `clientId` to the one from...

Hello, We've been using this package for a very long time, and yesterday it randomly started failing with the below error. Any idea what's going on?

Bumps [jose](https://github.com/panva/jose) from 1.28.1 to 1.28.2. Release notes Sourced from jose's releases. v1.28.2 Fixes limit default PBES2 alg's computational expense (4e7121a) Changelog Sourced from jose's changelog. 1.28.2 (2022-09-01) Bug Fixes...

dependencies

Hey, see: https://github.com/gsoft-inc/azure-devops-npm-auth/blob/9c2fca43982c3063113154a13cb9a6e4f289b06c/npm-config/index.ts#L13-L15 It's fairly common (I think) to not prefix nested dotfiles with a dot e.g. mine is at `~/.config/npm/npmrc` which causes this script to break as it tries...

on windows using the preinstall script with single quotes fails Example: ```json { "preinstall": "npx [email protected] --client_id='redacted-client-id' --tenant_id='redacted-tenant-id' --ci=CI_BUILD" } ``` produces the following error: ```cmd OPError: invalid_tenant (AADSTS90002: Tenant...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Hi, thanks for the saving us mac users, however, encountered an error when using ![image](https://user-images.githubusercontent.com/18282328/145804624-63371ce2-451e-4ad3-ac42-259df4589b46.png) ![image](https://user-images.githubusercontent.com/18282328/145801810-1b007397-cfae-4797-a003-4059785c6b8a.png) ![image](https://user-images.githubusercontent.com/18282328/145801902-9afe9708-e351-47ed-95f4-3c706c30aec0.png) What I am missing here? Thanks :)

I found it helpful to add npx to the preinstall script. Otherwise, you kind of end up in a chicken-and-egg situation.

Is possibile to use this library to authenticate a Service Principal with client_id and client_secret? I'm looking for a solution to authenticate a CI/CD service without a personal access token.