markbates/goth

Group Retrieval For Google Sessions

garymoon opened this issue · 0 comments

Google does not provide access to a groups-style claim via JWT or userinfo regardless of scopes. However, provided the necessary scope https://www.googleapis.com/auth/admin.directory.group.readonly scope is requested, the access token can be used to retrieve them via Google's API. Would this functionality be appropriate to include?

Thanks so much for Goth! 💙