Skip to content

fix(ISSUE-16): upgrade npm to latest for OIDC registry auth#22

Merged
cuzfrog merged 1 commit into
mainfrom
ISSUE-16_fix-publish-v4
May 24, 2026
Merged

fix(ISSUE-16): upgrade npm to latest for OIDC registry auth#22
cuzfrog merged 1 commit into
mainfrom
ISSUE-16_fix-publish-v4

Conversation

@cuzfrog
Copy link
Copy Markdown
Owner

@cuzfrog cuzfrog commented May 24, 2026

Problem

npm 10.9.8 (ships with Node 22) performs OIDC token exchange for Sigstore provenance (works), but does NOT exchange the token for npm registry authentication. The registry PUT receives no credentials and returns 404 (scoped packages are invisible without auth).

Fix

Upgrade npm to latest (11.x) before publishing. npm 11+ handles both Sigstore provenance and OIDC registry auth automatically when NODE_AUTH_TOKEN is not set.

npm 10.9.8 (ships with Node 22) uses OIDC for Sigstore provenance
but does not exchange the OIDC token for npm registry authentication.
npm 11+ handles both. Upgrade npm before publish.
@cuzfrog cuzfrog merged commit 88a2fc8 into main May 24, 2026
1 check passed
@cuzfrog cuzfrog deleted the ISSUE-16_fix-publish-v4 branch May 24, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant