Skip to content

How does trusted publishing (OIDC) work? #6952

@nicolo-ribaudo

Description

@nicolo-ribaudo

#6898 and #6911 added support for publishing to npm through OIDC, however I cannot find any docs on how to actually do it.

I tried following what the npm docs say (https://docs.npmjs.com/trusted-publishers#step-2-configure-your-cicd-workflow), but I'm getting this error:

YN0000: │ Error while publishing [object Object]:
  Error: No authentication configured for request

How do I tell yarn that the authentication that it's meant to use is OIDC?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions