- Jul 24, 2015
-
-
Jehiah Czebotar authored
Add support for setting the basic auth password.
-
Justin Burnham authored
For tools that don't like empty passwords, this change allows one to set a shared secret password for all users.
-
- Jul 15, 2015
-
-
Jehiah Czebotar authored
Check email validity on all requests rather than only on login.
-
- Jul 14, 2015
-
-
mattk42 authored
-
- Jul 03, 2015
-
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
Google - continually use refresh token
-
Jehiah Czebotar authored
* New SessionState to consolidate email, access token and refresh token * split ServeHttp into individual methods * log on session renewal * log on access token refresh * refactor cookie encription/decription and session state serialization
-
- Jun 24, 2015
-
-
Jehiah Czebotar authored
Google - use offline access token
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
-
- Jun 23, 2015
-
-
Jehiah Czebotar authored
Cookie Refresh Improvements
-
Jehiah Czebotar authored
* refresh now calculated as duration from cookie set
-
- Jun 13, 2015
-
-
Jehiah Czebotar authored
Release Version Two
-
Jehiah Czebotar authored
* bump version to 2.0 * remove --cookie-https-only option * add windows build to dist.sh * rename --cookie-key to --cookie-name
-
- Jun 08, 2015
-
-
Jehiah Czebotar authored
Native SSL support
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
Page defaults to Google sign in
-
Jehiah Czebotar authored
-
- Jun 07, 2015
-
-
Jehiah Czebotar authored
Github provider "Invalid Account"
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
disable email validation
-
Jehiah Czebotar authored
This adds a "*" option to --email-domain to disable email validation, and this renames `--google-apps-domain` to `--email-domain` for clarity across providers
-
tonymeng authored
-
- May 31, 2015
-
-
Jehiah Czebotar authored
Fix validator_test hang on Solaris, Plan 9
-
Mike Bland authored
On these platforms, the `done <- true` statement in during TearDown() was hanging, since the `watcher_unsupported.go` version was never draining the channel. Also took the opportunity to update the WatchForUpdates() signature to not return bool anymore.
-
Jehiah Czebotar authored
Fix unsupported WatchForUpdates and build tags
-
Mike Bland authored
Closes #105. The `go1.1` constraint has been updated to `!go1.3` per https://golang.org/pkg/go/build/#hdr-Build_Constraints and https://github.com/go-fsnotify/fsnotify. Also, the existing call signature for `WatchForUpdates()` in `watcher_unsupported.go` was stale.
-
- May 26, 2015
-
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
rename example file which is referenced in the README
-
Peter Idah authored
-
- May 21, 2015
-
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
Naming Is Hard - project name change
-
Jehiah Czebotar authored
-
Jehiah Czebotar authored
Add Github Provider
-
Jehiah Czebotar authored
-
Mike Bland authored
-
- May 19, 2015
-
-
Jehiah Czebotar authored
Provide graceful shutdown of file watcher in tests
-
- May 14, 2015
-
-
Mike Bland authored
TestValidatorOverwriteEmailListViaRenameAndReplace was deadlocking on Windows because, on Windows, fsnotify.Watcher will continue to watch a renamed file using its new name. On other systems, it appears the watch on a file is removed after a rename. The fix is to explicitly remove the watch to ensure the watch is resumed under the original name.
-
Mike Bland authored
These test failures from #93 inspired this change: https://travis-ci.org/bitly/google_auth_proxy/jobs/62474406 https://travis-ci.org/bitly/google_auth_proxy/jobs/62474407 Both tests exhibited this pattern: 2015/05/13 22:10:54 validating: is xyzzy@example.com valid? false 2015/05/13 22:10:54 watching interrupted on event: "/tmp/test_auth_emails_300880185": CHMOD 2015/05/13 22:10:54 watching resumed for /tmp/test_auth_emails_300880185 2015/05/13 22:10:54 reloading after event: "/tmp/test_auth_emails_300880185": CHMOD panic: test timed out after 1m0s [snip] goroutine 175 [chan send]: github.com/bitly/google_auth_proxy.(*ValidatorTest).TearDown(0xc2080bc330) /home/travis/gopath/src/github.com/bitly/google_auth_proxy/validator_test.go:27 +0x43 github.com/bitly/google_auth_proxy.TestValidatorOverwriteEmailListViaRenameAndReplace(0xc2080f2480) /home/travis/gopath/src/github.com/bitly/google_auth_proxy/validator_watcher_test.go:103 +0x3b9 [snip] goroutine 177 [chan send]: github.com/bitly/google_auth_proxy.func·017() /home/travis/gopath/src/github.com/bitly/google_auth_proxy/validator_test.go:34 +0x41 I realized that the spurious CHMOD events were causing calls to `func() { updated <- true }` (from validator_test.go:34), which caused the goroutine running the watcher to block. At the same time, ValidatorTest.TearDown was blocked by trying to send into the `done` channel. The solution was to create a flag that ensured only one value was ever sent into the update channel.
-