@@ -245,6 +245,7 @@ manual group additions/removals will be overwritten on the next login.
245
245
# as an environment variable
246
246
CODER_OIDC_SCOPES=openid,profile,email,groups
247
247
```
248
+
248
249
``` shell
249
250
# as a flag
250
251
--oidc-scopes openid,profile,email,groups
@@ -256,6 +257,7 @@ With the `groups` scope requested, we also need to map the `groups` claim name.
256
257
# as an environment variable
257
258
CODER_OIDC_GROUP_FIELD=groups
258
259
```
260
+
259
261
``` shell
260
262
# as a flag
261
263
--oidc-group-field groups
@@ -272,6 +274,7 @@ you can configure mapping between the two.
272
274
# as an environment variable
273
275
CODER_OIDC_GROUP_MAPPING='{"myOIDCGroupID": "myCoderGroupName"}'
274
276
```
277
+
275
278
``` shell
276
279
# as a flag
277
280
--oidc-group-mapping ' {"myOIDCGroupID": "myCoderGroupName"}'
@@ -306,6 +309,7 @@ If you want Coder to create groups that do not exist, you can set the following
306
309
# as an environment variable
307
310
CODER_OIDC_GROUP_AUTO_CREATE=true
308
311
` ` `
312
+
309
313
` ` ` shell
310
314
# as a flag
311
315
--oidc-group-auto-create=true
@@ -317,6 +321,7 @@ A basic regex filtering option on the Coder side is available. This is applied *
317
321
# as an environment variable
318
322
CODER_OIDC_GROUP_REGEX_FILTER="^my-group-.*$"
319
323
` ` `
324
+
320
325
` ` ` shell
321
326
# as a flag
322
327
--oidc-group-regex-filter="^my-group-.*$"
0 commit comments