Skip to content

Restrict global OAuth tokens to Hex.pm repositories - #218

Merged
ericmj merged 1 commit into
mainfrom
restrict-global-oauth-to-hexpm
Aug 18, 2026
Merged

Restrict global OAuth tokens to Hex.pm repositories#218
ericmj merged 1 commit into
mainfrom
restrict-global-oauth-to-hexpm

Conversation

@ericmj

@ericmj ericmj commented Aug 18, 2026

Copy link
Copy Markdown
Member

Restrict the global OAuth fallback for repository requests to hexpm and its child repositories. Custom repositories continue to use their configured repository credentials or downstream authentication such as .netrc.

Keep per-repository keys and OAuth exchanges unchanged. Add coverage for Hex.pm child repositories and trusted custom repositories that must not evaluate the global OAuth callback.

Related to hexpm/hex#1216.

@ericmj
ericmj marked this pull request as ready for review August 18, 2026 19:04
@ericmj
ericmj merged commit fb6423c into main Aug 18, 2026
10 checks passed
@ericmj
ericmj deleted the restrict-global-oauth-to-hexpm branch August 18, 2026 19:04
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