Skip to content

Support Forge API authentication - #19

Merged
LukasAud merged 1 commit into
puppetlabs:mainfrom
seanmil:forge_api_auth_fix
Aug 20, 2026
Merged

Support Forge API authentication#19
LukasAud merged 1 commit into
puppetlabs:mainfrom
seanmil:forge_api_auth_fix

Conversation

@seanmil

@seanmil seanmil commented Aug 18, 2026

Copy link
Copy Markdown

Up to this point, authentication to retrieve module metadata from a Forge API-compatible endpoint has not been available with this Gem.

This has probably been overlooked as Artifactory had, until recently, a bug allowing unauthenticated metadata access to otherwise private Puppet repositories.

This change adds support for passing an Authorization token to the configured Forge endpoint, which will allow the token to be passed in from Bolt (or other parts of the ecosystem).

See:

Up to this point, authentication to retrieve module
metadata from a Forge API-compatible endpoint has not
been available with this Gem.

This has probably been overlooked as Artifactory had,
until recently, a bug allowing unauthenticated metadata
access to otherwise private Puppet repositories.

This change adds support for passing an Authorization
token to the configured Forge endpoint, which will
allow the token to be passed in from Bolt (or other
parts of the ecosystem).

See:

- https://www.cve.org/CVERecord?id=CVE-2026-66379
- https://docs.jfrog.com/releases/docs/artifactory-saas-releases#artifactory-71640-saas

@LukasAud LukasAud left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LukasAud
LukasAud merged commit 11736e3 into puppetlabs:main Aug 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants