Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

google group check optimization #469

Open
urandom2 opened this issue Oct 6, 2017 · 0 comments
Open

google group check optimization #469

urandom2 opened this issue Oct 6, 2017 · 0 comments

Comments

@urandom2
Copy link
Contributor

urandom2 commented Oct 6, 2017

Currently the google provider uses the list operation on the members api to fetch all group members in a group, then matches against the user object that has just completed the oauth flow. Google has added a new get operation on the members api that takes both group id and member id, and returns a boolean.

Moving to this new api should speed up this group membership check, that can be painful for large group sizes. I am happy to look into this change myself, but wanted to document it, in the event that I do not get a chance in the near term.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants