Skip to content

Migrate guide for npm authToken #2379

Answered by juanpicado
nick-ChenZe asked this question in Q&A
Discussion options

You must be logged in to vote

, the authToken writed in .npmrc will invalid.

Unique thing that force invalid the tokens is the secret is different on the .verdaccio-db.json file (or where ever you have your database, couchdb etc..), if you want to keep tokens authToken field in your .npmrc file should be the same.

There is not changes on Verdaccio 5 regarding tokens generations, but will be on the next future major (verdaccio 6), but tha's the future, not important now.

we found it will write a user data include a uuid key in couchDB, which will used to decode the token?

yes.

I'd like to know more about your setup, feel free to drop me a message on discord chat.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@nick-ChenZe
Comment options

@juanpicado
Comment options

@nick-ChenZe
Comment options

Answer selected by juanpicado
Comment options

You must be logged in to vote
1 reply
@nick-ChenZe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants