-
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 <[email protected]> Change-Id: I8d826cff31554ecdb78bb580e72a2d8258ae6565 Reviewed-on: https://review.gerrithub.io/c/cue-labs/oci/+/1191614 TryBot-Result: CUE porcuepine <[email protected]> Reviewed-by: Rustam Abdullaev <[email protected]>
- Loading branch information
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