Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

This adds support for a relative path in the bearer token URL. This is unlikely to be encountered on large registries, but feasible for a minimal registry implementation to combine both the token server and registry server on the same instance, or at least behind the same reverse proxy.

How to verify it

make test

Changelog text

  • Feat: Allow relative urls in bearer auth.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 12609c9 into regclient:main Jul 10, 2025
4 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-auth-token-relative branch July 10, 2025 20:20
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.

1 participant