<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc" -->

---
title: Multiple trusted publishing configurations for npm
description: npm's trusted publishing (OIDC) now supports multiple configurations per package, letting maintainers set separate rules for stable, prerelease, or staging...
canonical: https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Multiple trusted publishing configurations for npm | daily.dev
og:description: npm's trusted publishing (OIDC) now supports multiple configurations per package, letting maintainers set separate rules for stable, prerelease, or staging...
og:url: https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc
og:image: https://api.daily.dev/og/posts/pAxB4VOgc.png
og:image:alt: Multiple trusted publishing configurations for npm
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Multiple trusted publishing configurations for npm

**[GitHub Changelog](https://daily.dev/sources/github_updates)** · 2 min read · 0 upvotes · 0 comments

## Summary

npm's trusted publishing (OIDC) now supports multiple configurations per package, letting maintainers set separate rules for stable, prerelease, or staging workflows without relying on long-lived tokens or workarounds. Each configuration is independent and additive, and a publish or stage succeeds if the incoming OIDC token matches any configuration. Staged packages can now only be approved after malware scanning completes, with the approval button disabled during scanning and status refreshing every minute. The npmjs.com versions tab also now shows maintainers a detailed staged history, including approval, rejection, or staged status for each version.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.blog/changelog/2026-09-03-multiple-trusted-publishing-configurations-for-npm>

## Questions this post answers

### Can an npm package have more than one trusted publishing (OIDC) configuration now?

Yes, npm packages can now have multiple trusted publishing configurations, each independent and additive with its own repository, workflow, and environment criteria. A publish or stage is authorized if the incoming OIDC token matches any one configuration; evaluation order is not guaranteed, so logic should not depend on which configuration matches.

_daily.dev helps maintainers stay current on npm trusted publishing changes like these before rolling out CI workflows._

### Why is the approve button disabled for a staged npm package?

The approval button is disabled while a staged package is still undergoing publish-time malware scanning and becomes enabled once the scan completes. The staged publishing queue page refreshes scan status every minute, ensuring a package can't be approved before it passes the malware check.

_Track registry security workflow changes like npm's staged scanning gate on daily.dev._

### How do I avoid keeping long-lived npm tokens for prerelease or staging workflows?

Set up separate trusted publishing (OIDC) configurations for each workflow, such as stable, prerelease, or staging, since npm now allows multiple configurations per package instead of just one. Previously maintainers had to use workflow workarounds or a long-lived token for paths OIDC couldn't cover.

_daily.dev keeps supply-chain-focused developers informed on npm publishing security updates._

## Similar posts on daily.dev

- [npm Staged Publishing Available, Adding a Human Approval Step Before Packages Go Live](https://daily.dev/posts/npm-staged-publishing-available-adding-a-human-approval-step-before-packages-go-live-ut80yuikj) · InfoQ · 0 upvotes · 0 comments
- [Staged publishing and new install-time controls for npm](https://daily.dev/posts/staged-publishing-and-new-install-time-controls-for-npm-xuqa9yew1) · GitHub Changelog · 6 upvotes · 1 comments
- [npm Introduces minimumReleaseAge and Bulk OIDC Configuration](https://daily.dev/posts/npm-introduces-minimumreleaseage-and-bulk-oidc-configuration-tw6gntfnf) · Socket · 0 upvotes · 0 comments
- [npm trusted publishing now supports CircleCI](https://daily.dev/posts/npm-trusted-publishing-now-supports-circleci-wltcia5ym) · GitHub Changelog · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#github](https://daily.dev/tags/github), [#authentication](https://daily.dev/tags/authentication), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Multiple trusted publishing configurations for npm","url":"https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc"},"datePublished":"2026-09-03T21:00:14.577Z","dateModified":"2026-09-04T00:45:33.921Z","description":"npm's trusted publishing (OIDC) now supports multiple configurations per package, letting maintainers set separate rules for stable, prerelease, or staging...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/81cc65cc8c1a5442d164f83b04e5f82f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/81cc65cc8c1a5442d164f83b04e5f82f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitHub Changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitHub Changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/15004b7835da4d89b02b115871f0f6dc","url":"https://daily.dev/sources/github_updates"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,github,authentication,npm","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitHub Changelog","item":"https://daily.dev/sources/github_updates"},{"@type":"ListItem","position":3,"name":"Multiple trusted publishing configurations for npm"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/multiple-trusted-publishing-configurations-for-npm-paxb4vogc#faq","mainEntity":[{"@type":"Question","name":"Can an npm package have more than one trusted publishing (OIDC) configuration now?","acceptedAnswer":{"@type":"Answer","text":"Yes, npm packages can now have multiple trusted publishing configurations, each independent and additive with its own repository, workflow, and environment criteria. A publish or stage is authorized if the incoming OIDC token matches any one configuration; evaluation order is not guaranteed, so logic should not depend on which configuration matches. daily.dev helps maintainers stay current on npm trusted publishing changes like these before rolling out CI workflows."}},{"@type":"Question","name":"Why is the approve button disabled for a staged npm package?","acceptedAnswer":{"@type":"Answer","text":"The approval button is disabled while a staged package is still undergoing publish-time malware scanning and becomes enabled once the scan completes. The staged publishing queue page refreshes scan status every minute, ensuring a package can't be approved before it passes the malware check. Track registry security workflow changes like npm's staged scanning gate on daily.dev."}},{"@type":"Question","name":"How do I avoid keeping long-lived npm tokens for prerelease or staging workflows?","acceptedAnswer":{"@type":"Answer","text":"Set up separate trusted publishing (OIDC) configurations for each workflow, such as stable, prerelease, or staging, since npm now allows multiple configurations per package instead of just one. Previously maintainers had to use workflow workarounds or a long-lived token for paths OIDC couldn't cover. daily.dev keeps supply-chain-focused developers informed on npm publishing security updates."}}]}
```

