Exchange an OIDC token for an npm token
One step with npm. We can help you get access.
Get something done
Exchange an OIDC token for an npm token
Use npm: its npm Public OIDC API lets you exchange an OIDC token for an npm token in a single step (POST /-/npm/v1/security/oidc/tokens). capabilities.work can help you get signed up and connected.
- How does a CI/CD provider get an npm token from its OIDC identity token?
- What audience claim must the OIDC token have to exchange for an npm token?
Say it to your AI assistant
- Exchange my OIDC identity token for an npm token for package {package}.
- Get a short-lived npm registry token using the OIDC id_token in my Authorization header.
For your developer
POST /-/npm/v1/security/oidc/tokens in npm Public OIDC API. Full spec on APIs.io.