- Aug 06, 2019
-
-
hjenkins authored
-
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.
-
- Aug 05, 2019
-
-
Henry Jenkins authored
[DOCS] Fix a bunch of places where the repo link was incorrect
-
Joel Speed authored
-
Joel Speed authored
Remove dep from Travis CI & pre-install modules
-
hjenkins authored
-
Henry Jenkins authored
Was missed from previous switch to go modules
-
- Aug 04, 2019
-
-
Reilly Brogan authored
-
- Jul 24, 2019
-
-
Joel Speed authored
Fix CODEOWNERS file
-
Joel Speed authored
-
- Jul 23, 2019
-
-
Joel Speed authored
Add MAINTAINERS and update CODEOWNERS
-
Joel Speed authored
-
- Jul 19, 2019
-
-
Joel Speed authored
Add silence-ping-logging flag
-
Karl authored
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
-
- Jul 17, 2019
-
-
Joel Speed authored
Switch from dep to go modules
-
Joel Speed authored
Correct TLS Flags broken in #186
-
Joel Speed authored
-
- Jul 16, 2019
-
-
Karl Skewes authored
-
Karl Skewes authored
-
Karl Skewes authored
-
Karl Skewes authored
-
Karl Skewes authored
-
Karl Skewes authored
-
Karl Skewes authored
- `logger.go` convert slice of paths to map for quicker lookup - `options.go` combines csv paths and pingpath into slice
-
Karl Skewes authored
- Add `ping-path` option to enable switching on and passing to `logger.go` Default remains unchanged at: `"/ping"` - Add note in configuration.md about silence flag taking precedence Potential tests: - `options.go` sets `logger.SetExcludePath` based on silence flag? - Changing `PingPath` reflected in router?
-
Karl Skewes authored
Can probably slim down the `ExcludePath` tests.
-
Karl Skewes authored
Useful for excluding /ping endpoint to reduce log volume. This is somewhat more verbose than a simple bool to disable logging of the `/ping` endpoint. Perhaps better to add `-silence-ping-logging` bool flag to `options.go` and pass in the `/ping` endpoint as part of `logger` declaration in `options.go`. Could be extended into a slice of paths similar to go-gin's `SkipPaths`: https://github.com/gin-gonic/gin/blob/master/logger.go#L46
-
Karl Skewes authored
Add ability to silence logging of requests to /ping endpoint, reducing log clutter Pros: - Don't have to change all handlers to set/not set silent ping logging - Don't have to duplicate `loggingHandler` (this could be preferable yet) Cons: - Leaking oauth2proxy logic into `package logger` - Defining default pingPath in two locations Alternative: - Add generic exclude path to `logger.go` and pass in `/ping`.
-
Henry Jenkins authored
-
Henry Jenkins authored
* master: Move docker dep commands to earlier in the build
-
- Jul 15, 2019
-
-
Joel Speed authored
Move docker dep commands to earlier in the build
-
Henry Jenkins authored
-
Daniel Kimsey authored
This will let Docker cache the results of the vendor dependencies. Making re-builds during testing faster. Also clean-up spurious test & rm in ./configure
-
Joel Speed authored
Make configuration consistent
-
Joel Speed authored
-
Joel Speed authored
-
Joel Speed authored
-
Joel Speed authored
Move root packages to pkg folder
-
Joel Speed authored
-
Joel Speed authored
Update to Alpine 3.10
-