Skip to content

Commit 181bac9

Browse files
committed
docs: add helm example for OIDC_GROU_MAPPING var
1 parent 929589d commit 181bac9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/admin/auth.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,16 @@ CODER_OIDC_GROUP_MAPPING='{"myOIDCGroupID": "myCoderGroupName"}'
243243
--oidc-group-mapping '{"myOIDCGroupID": "myCoderGroupName"}'
244244
```
245245

246+
Below is an example mapping in the Coder Helm chart:
247+
248+
```yaml
249+
coder:
250+
env:
251+
- name: CODER_OIDC_GROUP_MAPPING
252+
value: >
253+
{"myOIDCGroupID": "myCoderGroupName"}
254+
```
255+
246256
From the example above, users that belong to the `myOIDCGroupID` group in your
247257
OIDC provider will be added to the `myCoderGroupName` group in Coder.
248258

0 commit comments

Comments
 (0)