1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-02-15 14:03:45 +02:00
Mark Maglana 882fcf0a01 providers: iterate across all pages from /user/orgs github endpoint.
For some GHE instances where a user can have more than 100
organizations, traversing the other pages is important otherwise
oauth2_proxy will consider the user unauthorized. This change traverses
the list returned by the API to avoid that.

Update github provider tests to include this case.
2017-12-04 15:51:48 -05:00
..
2017-03-29 09:36:38 -04:00
2016-06-23 08:43:21 -04:00
2015-11-09 00:47:44 +01:00
2017-10-08 00:40:36 -04:00
2016-01-20 03:57:17 -05:00