Skip to content

Commit fd3cc9d

Browse files
authored
Merge pull request #519 from jpds/readme-oauth-correction
README: Fix OAuth setting examples
2 parents 985d069 + a3cce09 commit fd3cc9d

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,8 @@ services.buildbot-nix.master = {
169169
appSecretKeyFile = "/path/to/private-key.pem"; # Path to the downloaded private key
170170
171171
# Optional: Enable OAuth for user login
172-
oauth = {
173-
id = "<oauth-client-id>";
174-
secretFile = "/path/to/oauth-secret";
175-
};
172+
oauthId = "<oauth-client-id>";
173+
oauthSecretFile = "/path/to/oauth-secret";
176174
177175
# Optional: Filter which repositories to build
178176
topic = "buildbot-nix"; # Only build repos with this topic
@@ -280,10 +278,8 @@ services.buildbot-nix.master = {
280278
webhookSecretFile = "/path/to/webhook-secret";
281279
282280
# OAuth2 for user authentication
283-
oauth = {
284-
id = "<oauth-client-id>";
285-
secretFile = "/path/to/oauth-secret";
286-
};
281+
oauthId = "<oauth-client-id>";
282+
oauthSecretFile = "/path/to/oauth-secret";
287283
288284
# Optional: SSH authentication for private repositories
289285
sshPrivateKeyFile = "/path/to/ssh-key";

0 commit comments

Comments
 (0)