Skip to content
  1. Aug 06, 2019
    • hjenkins's avatar
      Adds reference to slack channel in readme · 5f9a65f6
      hjenkins authored
      5f9a65f6
    • Justin Palpant's avatar
      Check Google group membership with hasMember and get. (#224) · 7d910c0a
      Justin Palpant authored
      * Check Google group membership with hasMember and get.
      
      This PR is an enhancement built on
      https://github.com/pusher/oauth2_proxy/pull/160. That PR reduces the
      number of calls to the Google Admin API and simplifies the code by
      using the hasMember method. It also supports checking membership in
      nested groups.
      
      However, the above message doesn't handle members who are not a part
      of the domain. The hasMember API returns a 400 for that case. As a
      fallback, when the API returns a 400, this change will try using the
      `get` API which works as expected for members who aren't a part of the
      domain. Supporting members who belong to the Google group but aren't
      part of the domain is a requested feature from
      https://github.com/pusher/oauth2_proxy/issues/95.
      
      https://developers.google.com/admin-sdk/directory/v1/reference/members/get
      
      Note that nested members who are not a part of the domain will not be
      correctly detected with this change.
      
      * Update CHANGELOG.
      
      * Fix incorrect JSON and stop escaping strings.
      
      * Add comments for each scenario.
      7d910c0a
  2. Aug 05, 2019
  3. Aug 04, 2019
  4. Jul 24, 2019
  5. Jul 23, 2019
  6. Jul 19, 2019
  7. Jul 17, 2019
  8. Jul 16, 2019
  9. Jul 15, 2019