Group Retrieval For Google Sessions
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.6k
- Forks
- 631
- PR merge metrics
- No merged PRs in 30d
Description
Google [does not provide](https://issuetracker.google.com/issues/133774835) 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](https://developers.google.com/identity/protocols/oauth2/scopes#admin-directory) is requested, the access token can be used to retrieve them via [Google's API](https://developers.google.com/admin-sdk/directory/reference/rest/v1/groups/list). Would this functionality be appropriate to include?
Thanks so much for Goth! :blue_heart:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Goth's Google provider and session handling, then read the linked Google Admin SDK groups.list endpoint and the admin.directory.group.readonly scope. Determine how retrieved groups should be exposed for Google sessions; done means the requested group data is available without disrupting existing authentication behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, authentication
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100