-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(npm): match npm bearer token generation (#26544)
Spend some time stepping through the npm client code and noticed that the bearer token was different from ours. They do some double encoding and @dsherret helped me in matching the encoding behavior. Fixes #26033
- Loading branch information
1 parent
6159888
commit 6ef2875
Showing
2 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
@denotest:registry=http://localhost:4261/ | ||
//localhost:4261/:username=deno | ||
//localhost:4261/:_password=land | ||
# base64 of land | ||
//localhost:4261/:_password=bGFuZA== | ||
@denotest2:registry=http://localhost:4262/ | ||
//localhost:4262/:username=deno | ||
//localhost:4262/:_password=land2 | ||
# base64 of land2 | ||
//localhost:4262/:_password=bGFuZDI= |