Coder.comC
Coder.com16mo ago
3 replies
tboerger

Restrict access for Gitlab Auth

Hi community, how can I restrict the access based on Gitlab authentication? I have created the Gitlab app on a group like foo/bar/coder, can I restrict the access to members of the coder group only? Currently anybody authenticated to Gitlab is able to sign into Coder.
Solution
Found the solution on my own by try and error. I got to assign the env variables CODER_OIDC_GROUP_FIELD=groups and CODER_OIDC_ALLOWED_GROUPS=foo/bar/coder to get it working as expected.
Was this page helpful?