Is it possible to restrict OAuth applications to groups of users?

Hi everyone,

Is it possible to restrict applications to groups of users? My idea was to create an OAuth application but only allow users who belong to a group to access it. I couldn’t find anything in the wiki if this is possible, and when I tried to do it myself everyone seemed to be able to join that application.

Thank you in advance