Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Set JWT auth token "sub" field by basic auth username instead of "account" HTTP GET parameter #2286

Closed
wants to merge 1 commit into from

Conversation

StarGate01
Copy link

As per the specification and the authors of containerd the account GET parameter when requesting a JWT auth token is invalid (Even though docker-cli does it) and the HTTP basic auth username should be used instead. For example, Docker BuildX via buildkit via containerd does not set this parameter, resulting in Portus being confused.

This pull request fixes this behaviour by using the HTTP auth username.

Signed-off-by: Christoph Honal christoph.honal@web.de

…ount" HTTP GET parameter

Signed-off-by: Christoph Honal <christoph.honal@web.de>
@StarGate01
Copy link
Author

Note: #2274 Also fixes this issue.

@stale
Copy link

stale bot commented May 30, 2020

Thanks for all your contributions!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 30, 2020
@stale stale bot closed this Jun 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant