Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiauthenticator to try all authenticators #1379

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented Oct 30, 2024

Previously we would fail if any authenticator returned an error. With this change, each authenticator is attempted and if any return an error the errors are aggregated and only returned if no token is successfully set.

Previously we would fail if any authenticator returned an error. With
this change, each authenticator is attempted and if any return an error
the errors are aggregated and only returned if no token is successfully
set.
@wlynch wlynch requested a review from imjasonh October 30, 2024 19:00
@wlynch wlynch merged commit e707968 into chainguard-dev:main Oct 30, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants