-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ociauth: be more strict about when we turn a 401 into a 403
The current logic triggers the 401->403 logic even when the credentials are not acquired from a token server. We want to be more specific than that. For cue-lang/cue#2955. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I8d826cff31554ecdb78bb580e72a2d8258ae6565 Dispatch-Trailer: {"type":"trybot","CL":1191614,"patchset":2,"ref":"refs/changes/14/1191614/2","targetBranch":"main"}
- Loading branch information
1 parent
8f39392
commit 9f3b5a7
Showing
2 changed files
with
54 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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