Getting transitive groups by using Google SSO

Hi everyone,

I need to retrieve the transitive groups (Method: groups.memberships.searchTransitiveGroups  |  Cloud Identity  |  Google Cloud) using Google SSO. Is there a way to do this? Currently, I only have access to groups in which the user is a direct member. I cannot retrieve the groups in which the user is an indirect member. How can I obtain this information?

Thanks.

This is located in the source code atpritunl/sso/google.py the file at /usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/sso/google.py. The command sudo systemctl restart pritunl needs to be run after modifying the file. It may be possible to make changes to the code to modify what groups are queried.