Limit / restrict oauth authentication to group

Is there any way to be able to use Gitlab as a Oauth provider, but limit what users can authenticate, so say I create a webapp and only allowed users within a certain group to authenticate to it.