# Getting transitive groups by using Google SSO

**URL:** <https://forum.pritunl.com/t/getting-transitive-groups-by-using-google-sso/1120>\
**Category:** Pritunl VPN\
**Tags:** pritunl\
**Created:** [June 8, 2023, 2:43pm UTC](https://forum.pritunl.com/t/getting-transitive-groups-by-using-google-sso/1120 "2023-06-08T14:43:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkvpn](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/85e7bf/32.png) [@mkvpn](https://forum.pritunl.com/u/mkvpn)\
**Post date:** [June 8, 2023, 2:43pm UTC](https://forum.pritunl.com/t/getting-transitive-groups-by-using-google-sso/1120/1 "2023-06-08T14:43:34Z")

</div>

Hi everyone,

I need to retrieve the transitive groups ([Method: groups.memberships.searchTransitiveGroups &nbsp;|&nbsp; Cloud Identity &nbsp;|&nbsp; Google Cloud](https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/searchTransitiveGroups)) 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.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [June 8, 2023, 9:11pm UTC](https://forum.pritunl.com/t/getting-transitive-groups-by-using-google-sso/1120/2 "2023-06-08T21:11:28Z")

</div>

This is located in the source code at[**pritunl/sso/google.py**](https://github.com/pritunl/pritunl/blob/master/pritunl/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.
