Page 1 of 1

create token , but the token invalid

Posted: Sat Jan 07, 2023 7:34 am
by tingting.ge

npm config set "@bryntum:registry=https://npm.bryntum.com"
BRYNTUM_TOKEN=$(curl --location --request POST 'https://npm.bryntum.com/-/verdaccio/login' --header 'Content-Type: application/json' --data-raw '{ "username": "xxx", "password":"xxx"}' | jq -r .token)
npm set //https://npm.bryntum.com/:_authToken $BRYNTUM_TOKEN

the .npmrc has token, but npm install is error : code 401 Unable to authenticate, your authentication token seems to be invalid.


Re: create token , but the token invalid

Posted: Sat Jan 07, 2023 3:57 pm
by mats

Please post in the relevant product forum instead of here.