Skip to content

Commit 28ed79b

Browse files
committed
golden files
1 parent a32366f commit 28ed79b

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

cli/testdata/coder_server_--help.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,9 @@ OAUTH2 / GITHUB OPTIONS:
498498
--oauth2-github-client-secret string, $CODER_OAUTH2_GITHUB_CLIENT_SECRET
499499
Client secret for Login with GitHub.
500500

501+
--oauth2-github-default-provider bool, $CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER (default: true)
502+
Enable the default GitHub OAuth2 provider managed by Coder.
503+
501504
--oauth2-github-device-flow bool, $CODER_OAUTH2_GITHUB_DEVICE_FLOW (default: false)
502505
Enable device flow for Login with GitHub.
503506

cli/testdata/server-config.yaml.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ oauth2:
265265
# Enable device flow for Login with GitHub.
266266
# (default: false, type: bool)
267267
deviceFlow: false
268+
# Enable the default GitHub OAuth2 provider managed by Coder.
269+
# (default: true, type: bool)
270+
defaultProvider: true
268271
# Organizations the user must be a member of to Login with GitHub.
269272
# (default: <unset>, type: string-array)
270273
allowedOrgs: []

enterprise/cli/testdata/coder_server_--help.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,9 @@ OAUTH2 / GITHUB OPTIONS:
499499
--oauth2-github-client-secret string, $CODER_OAUTH2_GITHUB_CLIENT_SECRET
500500
Client secret for Login with GitHub.
501501

502+
--oauth2-github-default-provider bool, $CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER (default: true)
503+
Enable the default GitHub OAuth2 provider managed by Coder.
504+
502505
--oauth2-github-device-flow bool, $CODER_OAUTH2_GITHUB_DEVICE_FLOW (default: false)
503506
Enable device flow for Login with GitHub.
504507

0 commit comments

Comments
 (0)