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

Iterate through pages returned by List Your Organizations endpoint #414

Merged
merged 1 commit into from
Dec 4, 2017

Commits on Dec 4, 2017

  1. 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.
    relaxdiego authored and talam committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    882fcf0 View commit details
    Browse the repository at this point in the history