Skip to content
Discussion options

You must be logged in to vote

This is a common "teething issue" with the transition to OIDC (Trusted Publishing) on npm, specifically when using Yarn v1 (Classic). The "Not Found" error is actually a misleading response from the npm registry when authentication fails—in this case, because Yarn v1 does not natively support the OIDC/Provenance handshake required by the new Trusted Publisher flow.

Here is the professional breakdown and the fix to get your security update published.

  1. The Root Cause: Yarn v1 vs. OIDC
    The yarn publish command in Yarn v1 (Classic) is built on an older architecture that doesn't know how to exchange a GitHub OIDC token for an npm session. When you run yarn publish --provenance, it fails to pr…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Arad1el
Comment options

You must be logged in to vote
1 reply
@shivrajcodez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community!
4 participants