[gerrit_util] Add dogfoodable luci-auth Authenticator (reland)
Inspired by https://chromium-review.googlesource.com/c/5577744. This implementation allows toggling the entire new-auth-stack with the git configuration: [depot-tools] useNewAuthStack = 1 Additionally, you can set: [depot-tools] newAuthSkipSSO = 1 To intentionally skip SSOAuthenticator for now while doing local evaluation of these auth methods. This CL was uploaded without gitcookies using the new luci-auth Authenticator. Subsequent CLs will adjust creds-check and EnsureAuthenticated to work correctly with the new auth stack. Originally landed in https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5590324 Reverted because of the preceding CL https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5586799 Bug: 336351842, 336652327 Change-Id: I72df6689ec1ea5429fecc86e5752366fcda7465a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5627835 Reviewed-by: Scott Lee <ddoman@chromium.org> Reviewed-by: Yiwei Zhang <yiwzhang@google.com> Commit-Queue: Allen Li <ayatane@chromium.org>changes/35/5627835/3
parent
3e4ab13934
commit
88a72320ed
Loading…
Reference in New Issue