# Hello, how can I restrict access to a client to certain groups?

**URL:** <https://forum.keycloak.org/t/hello-how-can-i-restrict-access-to-a-client-to-certain-groups/21891>\
**Category:** Getting advice\
**Tags:** authentication, oidc\
**Created:** [May 4, 2023, 8:25am UTC](https://forum.keycloak.org/t/hello-how-can-i-restrict-access-to-a-client-to-certain-groups/21891 "2023-05-04T08:25:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BsctZz](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/bsctzz/32/8439_2.png) [@BsctZz](https://forum.keycloak.org/u/BsctZz)\
**Post date:** [May 4, 2023, 8:25am UTC](https://forum.keycloak.org/t/hello-how-can-i-restrict-access-to-a-client-to-certain-groups/21891/1 "2023-05-04T08:25:09Z")

</div>

On a Gitlab instance I have users who belong to groups and I would like to restrict access to this instance to certain groups. What are the steps to follow?

Thanks in advance.
