hub: update repo export#24396
Merged
craig-osterhout merged 2 commits intodocker:mainfrom Mar 18, 2026
Merged
Conversation
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
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/loginto/v2/auth/token - ✅ Changed authentication fields from
username/passwordtoidentifier/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>
aevesdocker
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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