-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_group_memberships_from_ms_graph returns only first 100 users #272
Comments
PR welcome 😊 |
Alternatively, you can subclass the ADFS backend and override |
I am preparing a PR ... |
PR is hiere: |
Hi, Where did we leave off with this request? I do have the same issue, believe it or not, I found use cases where users have 500+ groups in AD and won't want to customize the claim to return the groups attached to the application. |
There's an open PR but it has some things that need to be addressed. You can base your work off of that. |
It looks like the method get_group_memberships_from_ms_graph in backend.py returns only the first 100 users
Unfortunatley we have usrs that have over 200 groups assigned
we are using django-auth-adfs with Azure AD
and the Microsft Graph API results have a size limit (of 100, in our case)
requiring the groups exceeding the limit
need to be fetched by repeating the reqest with '@odata.nextLink'
that is returned in this case with the batched result
could this be fixed / extended?
The text was updated successfully, but these errors were encountered: