Skip to content

Commit 3d8df73

Browse files
committed
fmt
1 parent 156f1bd commit 3d8df73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/admin/auth.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ manual group additions/removals will be overwritten on the next login.
245245
# as an environment variable
246246
CODER_OIDC_SCOPES=openid,profile,email,groups
247247
```
248+
248249
```shell
249250
# as a flag
250251
--oidc-scopes openid,profile,email,groups
@@ -256,6 +257,7 @@ With the `groups` scope requested, we also need to map the `groups` claim name.
256257
# as an environment variable
257258
CODER_OIDC_GROUP_FIELD=groups
258259
```
260+
259261
```shell
260262
# as a flag
261263
--oidc-group-field groups
@@ -272,6 +274,7 @@ you can configure mapping between the two.
272274
# as an environment variable
273275
CODER_OIDC_GROUP_MAPPING='{"myOIDCGroupID": "myCoderGroupName"}'
274276
```
277+
275278
```shell
276279
# as a flag
277280
--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
306309
# as an environment variable
307310
CODER_OIDC_GROUP_AUTO_CREATE=true
308311
```
312+
309313
```shell
310314
# as a flag
311315
--oidc-group-auto-create=true
@@ -317,6 +321,7 @@ A basic regex filtering option on the Coder side is available. This is applied *
317321
# as an environment variable
318322
CODER_OIDC_GROUP_REGEX_FILTER="^my-group-.*$"
319323
```
324+
320325
```shell
321326
# as a flag
322327
--oidc-group-regex-filter="^my-group-.*$"

0 commit comments

Comments
 (0)