getsentry/sentry-auth-github

Cannot select organization when too many items

Opened this issue · 0 comments

As of Github Api v3, default pagination value is 30

Requests that return multiple items will be paginated to 30 items by default.

I belong to too many github organizations.(maybe 100+)
My orgization is not visible on the "Select Organization" page. (I have to delete other organizations to select it)

I think auth url need to be changed(add per_page param) or fetch job needs to be repeated

https://github.com/getsentry/sentry-auth-github/blob/master/sentry_auth_github/client.py#L44