Skip to content

hub: update repo export#24396

Merged
craig-osterhout merged 2 commits intodocker:mainfrom
craig-osterhout:hub-auth-endpoint
Mar 18, 2026
Merged

hub: update repo export#24396
craig-osterhout merged 2 commits intodocker:mainfrom
craig-osterhout:hub-auth-endpoint

Conversation

@craig-osterhout
Copy link
Copy Markdown
Contributor

@craig-osterhout craig-osterhout commented Mar 17, 2026

Description

Internal feedback reported that the deprecated auth endpoint does not support OATs.
Updated to new auth endpoint.

Upon testing the rest of the flow, the repositories endpoint has the following error, token issued from organization access token is not allowed.

The current flow does not appear to work with OATs. Updated to PAT and tested that it worked.

https://deploy-preview-24396--docsdocker.netlify.app/docker-hub/repos/manage/export/

Related issues or tickets

https://docker.slack.com/archives/C04300R4G5U/p1773779041999559

Reviews

  • Technical review
  • Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout craig-osterhout requested a review from a team March 17, 2026 23:15
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 17, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 049f2e7
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69b9e38f45ffaa0009e8ce8f
😎 Deploy Preview https://deploy-preview-24396--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the area/hub Issue affects Docker Hub label Mar 17, 2026
Copy link
Copy Markdown
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

This PR correctly updates the Docker Hub repository export documentation from using Organization Access Tokens (OAT) to Personal Access Tokens (PAT), addressing the issue where OATs are not supported by the repositories endpoint.

Changes verified:

  • ✅ Updated authentication endpoint from /v2/users/login to /v2/auth/token
  • ✅ Changed authentication fields from username/password to identifier/secret
  • ✅ Removed all references to OAT throughout the document
  • ✅ Updated troubleshooting section to reflect PAT-only workflow
  • ✅ No style guide violations (no hedge words, proper terminology)
  • ✅ Link to /security/for-developers/access-tokens/ is valid (aliased to /security/access-tokens/)

The documentation accurately reflects the tested and working PAT-based authentication flow described in the PR.

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout craig-osterhout added the status/review Pull requests that are ready for review label Mar 17, 2026
@craig-osterhout craig-osterhout merged commit 3d44154 into docker:main Mar 18, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/hub Issue affects Docker Hub status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants