We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/api
1 parent d74f35d commit 2299ddbCopy full SHA for 2299ddb
buildbot_nix/oauth2_proxy_auth.py
@@ -19,7 +19,7 @@
19
class OAuth2ProxyAuth(AuthBase):
20
header: ClassVar[bytes] = b"Authorization"
21
prefix: ClassVar[bytes] = b"Basic "
22
- user_info_provider: UserInfoProviderBase
+ user_info_provider: UserInfoProviderBase = None
23
password: bytes
24
25
def __init__(self, password: str, **kwargs: Any) -> None:
nix/master.nix
@@ -800,6 +800,11 @@ in
800
upstream = "http://127.0.0.1:${builtins.toString config.services.buildbot-master.port}";
801
802
cookie-secure = true;
803
+ skip-auth-route = [ "^/change_hook" ];
804
+ api-route = [
805
+ "^/api"
806
+ "^/ws$"
807
+ ];
808
}
809
(lib.mkIf (cfg.authBackend == "httpbasicauth") { set-basic-auth = true; })
810
(lib.mkIf
0 commit comments