Skip to content

Commit 0f508f5

Browse files
committed
Add yaml config options
1 parent 1479644 commit 0f508f5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

coderd/oauthpki/okidcpki_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func TestAzureADPKIOIDC(t *testing.T) {
9999
PemEncodedKey: []byte(testClientKey),
100100
PemEncodedCert: []byte(testClientCert),
101101
Config: oauthCfg,
102+
Scopes: []string{"openid", "email", "profile"},
102103
})
103104
require.NoError(t, err, "failed to create pki config")
104105

codersdk/deployment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ when required by your organization's security policy.`,
977977
"This can be used instead of oidc-client-secret if your IDP supports it.",
978978
Flag: "oidc-client-key-file",
979979
Env: "CODER_OIDC_CLIENT_KEY_FILE",
980+
YAML: "oidcClientKeyFile",
980981
Value: &c.OIDC.ClientKeyFile,
981982
Group: &deploymentGroupOIDC,
982983
},
@@ -986,6 +987,7 @@ when required by your organization's security policy.`,
986987
"The public certificate that accompanies oidc-client-key-file. A standard x509 certificate is expected.",
987988
Flag: "oidc-client-cert-file",
988989
Env: "CODER_OIDC_CLIENT_CERT_FILE",
990+
YAML: "oidcClientCertFile",
989991
Value: &c.OIDC.ClientCertFile,
990992
Group: &deploymentGroupOIDC,
991993
},

0 commit comments

Comments
 (0)