Skip to content

Commit 47f2889

Browse files
authored
Add original error code for search (#1919)
Very small change. I wasted several days before finding this documentation; the npm output never shows "Unable to authenticate" but "ENEEDAUTH"
1 parent 86767b0 commit 47f2889

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/packages-and-modules/securing-your-code/trusted-publishers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Consider implementing these additional security practices:
324324

325325
## Troubleshooting
326326

327-
If you encounter an "Unable to authenticate" error when publishing, first verify that the workflow filename matches exactly what you configured on [npmjs.com](https://npmjs.com), including the `.yml` extension. All fields are case-sensitive and must be exact. Also ensure you're using GitHub-hosted runners, GitLab.com shared runners, or CircleCI cloud, as self-hosted runners are not currently supported. For GitHub Actions specifically, check that the `id-token: write` permission is set in your workflow. For CircleCI, verify that your Organization ID, Project ID, and Pipeline definition ID match your CircleCI configuration.
327+
If you encounter an "Unable to authenticate" (ENEEDAUTH) error when publishing, first verify that the workflow filename matches exactly what you configured on [npmjs.com](https://npmjs.com), including the `.yml` extension. All fields are case-sensitive and must be exact. Also ensure you're using GitHub-hosted runners, GitLab.com shared runners, or CircleCI cloud, as self-hosted runners are not currently supported. For GitHub Actions specifically, check that the `id-token: write` permission is set in your workflow. For CircleCI, verify that your Organization ID, Project ID, and Pipeline definition ID match your CircleCI configuration.
328328

329329
<Note>
330330

0 commit comments

Comments
 (0)