You’ll need to extend the GenericAuthenticator to define the JupyterHub groups. See these two topics: