Commit Graph

363 Commits

Author SHA1 Message Date
Pavel Sorokin 51ac937bcc Merge branch 'master' of github.com:outlook/oauth2_proxy into work 2017-09-07 13:58:22 +08:00
Pavel Sorokin 16fe3d121d Merge branch 'master' of https://github.com/bitly/oauth2_proxy 2017-09-07 13:54:56 +08:00
Pavel Sorokin 4f67c1acd4 Add "resource" to LoginURL if defined. That helps to get 2FA 2017-09-07 13:53:53 +08:00
Pavel Sorokin 724702c415 vagrantfile updates 2017-09-07 05:47:18 +00:00
Jehiah Czebotar b1e29c329b Merge pull request #407 from segmentio/sign-in-redirect
nginx auth_request: fix -skip-provider-button
2017-08-28 20:57:09 -04:00
Jehiah Czebotar 678290035c Merge pull request #410 from sobolevn/patch-1
Updates README.md with svg badge
2017-08-28 20:50:07 -04:00
Jehiah Czebotar 01ef8162a8 Merge pull request #422 from arnottcr/strip-all-tokens
strip all tokens
2017-08-28 20:48:43 -04:00
Jehiah Czebotar 23cef89236 Merge pull request #431 from ploxiln/nil_upstream_url
gracefully report un-parsed upstream URL
2017-08-28 20:46:30 -04:00
Jehiah Czebotar 11bdcc96c5 Merge pull request #426 from bluecmd/patch-4
Remove check for >0 upstreams
2017-08-28 20:45:26 -04:00
Jehiah Czebotar 79fff53531 Merge pull request #425 from bluecmd/patch-3
Update cookie generation to match base64 encoding
2017-08-28 20:44:49 -04:00
Pierce Lopez 3d8b59ef71 options: wrap missing-email-validation error message 2017-08-05 12:55:42 -04:00
Pierce Lopez e9bbecface options: gracefully report un-parsed upstream URL
upstreamURL is a nil pointer if there is an error parsing --upstream
2017-08-05 12:55:15 -04:00
Christian Svensson 0b117133b9 Remove check for >0 upstreams
When used solely for auth_request there is no upstream.
Instead of forcing users to set a dummy upstream, remove
the check.
2017-07-20 21:54:31 +02:00
Christian Svensson f4321c4b45 Update cookie generation to match base64 encoding
Current code is using URLEncoding but example was using the
standard RFC 4648 encoding. Switch to using the URL
encoding in the example as well.
2017-07-20 13:28:41 +02:00
Colin Arnott ba67e5c847
strip all log statements with the endpoint var 2017-07-13 18:33:48 +00:00
Nikita Sobolev e6e60c4b60 Updates README.md with svg badge 2017-06-29 09:36:31 +03:00
Pavel Sorokin 59adce3d63 Merge pull request #7 from outlook/pasoroki_fix
Return back default provider in Options
2017-06-28 12:27:14 +08:00
Pavel Sorokin 2833654006 Return back default provider in Options 2017-06-28 12:26:17 +08:00
Pavel Sorokin 10c03e0dc5 Merge branch 'master' of github.com:outlook/oauth2_proxy into work 2017-06-28 12:05:38 +08:00
Pavel Sorokin 4cc75763bf Merge pull request #6 from outlook/pasoroki_fix
Remove unnecessary Provider setup in options
2017-06-28 12:02:11 +08:00
Pavel Sorokin 1f83d426ae Remove unnecessary Provider setup in options 2017-06-28 12:01:10 +08:00
Pavel Sorokin bffd182b03 Merge branch 'master' of github.com:outlook/oauth2_proxy into work 2017-06-28 11:38:31 +08:00
Pavel Sorokin dd598b3e9b Merge pull request #5 from outlook/pasoroki_fix
Fixing issues that caused test failures
2017-06-28 11:37:09 +08:00
Pavel Sorokin d181279917 Test fixes 2017-06-28 11:34:25 +08:00
Pavel Sorokin f65cea6197 Merge pull request #4 from outlook/pasoroki_fix
Fix for google_test validation
2017-06-27 23:28:56 +08:00
Pavel Sorokin 2c5f6145aa Fix for google_test validation 2017-06-27 23:26:38 +08:00
Pavel Sorokin 587de17e54 Work branch will have all the testing files 2017-06-27 15:22:13 +08:00
Pavel Sorokin 7b2ac72834 Merge pull request #3 from outlook/pasoroki_fix
Code cleanup
2017-06-27 15:16:57 +08:00
Pavel Sorokin 95cd1ac5a5 Code cleanup 2017-06-27 15:14:18 +08:00
Pavel Sorokin 6f1622931d Merge pull request #2 from outlook/pasoroki_fix
Fix state option
2017-06-27 15:12:01 +08:00
Pavel Sorokin dba4f436c8 Cleanup 2017-06-27 08:33:35 +08:00
Pavel Sorokin b801997624 Fix incorrect "state" header 2017-06-26 06:21:38 +00:00
Pavel Sorokin 47fe902cbc Merge branch 'master' of https://github.com/bitly/oauth2_proxy into HEAD 2017-06-22 03:06:56 +00:00
Alan Braithwaite b640a69d63 oauthproxy: fix #284 -skip-provider-button for /sign_in route 2017-06-21 15:05:36 -07:00
Jehiah Czebotar 3c51c914ac Merge pull request #405 from bspaans/patch-1
Update Google Auth Provider instructions
2017-06-21 09:24:24 -04:00
Bart Spaans 7fea71a4ce Update Google Auth Provider instructions 2017-06-21 11:03:24 +01:00
Jehiah Czebotar cddd2fcd7c Merge pull request #402 from shividhar/master
Fix spelling mistake in docs
2017-06-09 12:23:50 -04:00
Shivansh Dhar c8c6b66465 Fix spelling mistake in docs 2017-06-09 12:17:24 -04:00
Jehiah Czebotar 6d6cb7e1f8 Merge pull request #392 from arnottcr/master
[github provider] use Authorization header, not access_token query parameter
2017-05-26 08:42:07 -04:00
Colin Arnott 17b1fa31dd
use Authorization header, not access_token query parameter 2017-05-18 03:45:34 +00:00
Jehiah Czebotar f4c356637f Merge pull request #382 from ploxiln/auth_request_readme
README: nginx auth_request example updates
2017-05-15 20:50:28 -04:00
Pierce Lopez 6d295f8446 README: nginx auth_request example refresh cookie handling
how to pass back the refreshed oauth2_proxy cookie from an nginx auth_request
2017-04-24 17:59:21 -04:00
Pierce Lopez 7f5672b433 README: simplify nginx auth_request example
/oauth2/auth is not more sensitive than other /oauth2/ paths,
does not need "internal" protection

"spdy" protocol is obsolete, http2 is the thing to enable now.
But it's orthogonal anyway.

No need for two separate content/upstream location blocks in
this example, reduce to just one, with a comment that it could
be serving files instead of proxying.
2017-04-24 17:56:15 -04:00
Jehiah Czebotar ea2540bc89 Merge pull request #381 from ploxiln/dist_strip
dist.sh: use go build option to strip binaries
2017-04-24 16:34:22 -04:00
Pierce Lopez 68e3178812 dist.sh: use go build option to strip binaries
30% release binary size reduction
2017-04-24 16:04:36 -04:00
Pierce Lopez d7e327d712 bump to version 2.2.1-alpha for development 2017-04-24 16:04:06 -04:00
Jehiah Czebotar b90a23473f Merge pull request #380 from jehiah/release_380
Release v2.2
2017-04-24 12:22:11 -04:00
Jehiah Czebotar f457a9042a Readme: update --help usage 2017-04-24 12:16:16 -04:00
Jehiah Czebotar 3fa5635d6c
Release 2.2.0 2017-04-24 12:11:23 -04:00
Jehiah Czebotar f511cac6a6 Merge pull request #365 from travisofthenorth/fix/default-http-address
Fix url parse error
2017-04-20 14:57:39 -04:00