Revert "Add note on configuring id_tokens for npm"
This reverts commit dc2ac31dfa666b5f417f6f3bf9eb71a15daa3c4b.
Di Hei committed
Feb 10, 2026 at 10:42 UTC
e48932d30f116d12646cf37e5e5f45299a46db59
1 file changed
-6
content/packages-and-modules/securing-your-code/trusted-publishers.mdx
-6
@@ -139,12 +139,6 @@ publish:
139
140
The `id_tokens` configuration tells GitLab to generate an OIDC token for npm. Learn more in [GitLab's OIDC documentation](https://docs.gitlab.com/ee/ci/cloud_services/).
141
142
-<Note>
143
-
144
-**Note:** Don't forget to configure id_tokens 'aud' to `"npm:registry.npmjs.org"` in your GitLab pipeline.
145
-
146
-</Note>
147
-
142
### Managing trusted publisher configurations
143
144
You can modify or remove your trusted publisher configuration at any time through your package settings on [npmjs.com](https://npmjs.com) → Packages → YOUR_PACKAGE → Settings → Trusted publishing. Each package can only have one trusted publisher connection at a time, but this connection can be edited or deleted as needed. To change providers (for example, switching from GitHub Actions to GitLab CI/CD), simply edit your existing configuration and select the new provider. The change takes effect immediately for future publishes. To remove trusted publishing entirely and return to token-based authentication, delete the trusted publisher configuration from your package settings.