Commit Graph

789 Commits

Author SHA1 Message Date
Joshua Hoblitt
0a7a90b7a8 fix dist.sh compatibility with GNU coreutils mktemp
Resolves this error:

    mktemp: too few X's in template ‘oauth2_proxy’
2016-05-26 11:00:50 -07:00
Jehiah Czebotar
a631197138 Merge pull request #249 from rremer/update-golang
fix master build by upgrading with supported golang versions
2016-05-26 12:49:14 -04:00
Christian Svensson
d579db4a2d Remove superfluous quotes from config path
Using -config="path" will make the application try to open paths with the quotes included which is not what is expected.
2016-05-15 23:22:39 +02:00
Royce Remer
0b2e8991db fix master build by upgrading with supported golang versions 2016-05-12 18:17:54 -07:00
Jehiah Czebotar
62c80df1a5 Merge pull request #235 from gust1n/patch-1
Fix typo
2016-04-12 04:20:07 -07:00
Joakim Gustin
60a59ce7b1 Fix typo 2016-04-12 07:26:13 +02:00
Jehiah Czebotar
42f1651ba5 Merge pull request #219 from 18F/signature-key-env-var
OAUTH2_PROXY_SIGNATURE_KEY env var, README update
2016-02-25 09:57:23 -05:00
Mike Bland
87d80d6d22 OAUTH2_PROXY_SIGNATURE_KEY env var, README update 2016-02-24 08:23:31 -05:00
Jehiah Czebotar
293d674e14 Merge pull request #214 from raphink/github_multiple_teams
github provider: allow multiple teams
2016-02-17 17:24:50 -05:00
Raphaël Pinson
338e99773a github provider: allow multiple teams 2016-02-17 23:17:08 +01:00
Jehiah Czebotar
bfb8dc13bf Merge pull request #211 from pmosbach/gitlab-provider
Add GitLab provider
2016-02-17 09:04:07 -05:00
pmosbach
034612bf8b Add GitLab provider 2016-02-17 06:19:52 -06:00
Jehiah Czebotar
54efb1a2e1 Merge pull request #208 from sgnn7/add_service_example
Added SystemD example service file
2016-02-17 04:45:18 -05:00
Jehiah Czebotar
97ec9995aa Merge pull request #213 from rhencke/patch-1
Fix small typo in README.md.
2016-02-17 04:42:58 -05:00
Robert Hencke
51dbc9fb9b Fix small typo in README.md. 2016-02-16 17:07:26 -05:00
Jehiah Czebotar
b1ccb058d3 Merge pull request #210 from funkymrrogers/master
fixed formatting
2016-02-13 08:43:01 -05:00
Alex
c0a18a5cb3 fixed formatting 2016-02-13 01:41:10 -06:00
Srdjan Grubor
b14be4974f Added SystemD example service file
Since most people want to run this as a service, having some sort of an
example file is very useful to have.
2016-02-12 13:22:33 -06:00
Jehiah Czebotar
36128e971f Merge pull request #197 from ruta-goomba/enterprise-github
use Github provider with GitHub enterprise
2016-02-06 13:24:48 -06:00
Chris Hundt
f74ad56599 Add URL fragment to sign-in form
This allows a seamless transition for applications that encode
state in the fragment.
2016-01-25 13:43:55 -05:00
Ruta Sakalauskaite
79b548dae6 modifying README to add information about use with enterprise github 2016-01-21 21:54:29 +00:00
Ruta Sakalauskaite
a9cf8b3313 adding enterprise github provider
print the error stack trace

point to my fork in oauthproxy.go

addint pointers to ruta-goomba fork in mulitple files

change api endpoint

replace hard-coded github api endpoint with variables

resetting fall through github urls to point to github.com

fix malformed url

changes to enable use with enterprise github
2016-01-21 21:22:18 +00:00
Eelco Cramer
10f47e325b Add Azure Provider 2016-01-20 03:57:17 -05:00
Jehiah Czebotar
d5a332c3f2 Merge pull request #194 from r4um/validate-state
Validate state param while redirecting.
2016-01-19 10:21:32 -05:00
Pranay Kanwar
f957a1e435 Validate state param while redirecting 2016-01-19 13:14:16 +05:30
Jehiah Czebotar
613a342115 Merge pull request #184 from stanhu/trim-trailing-spaces
Ignore spaces in authorized emails list
2015-12-23 07:43:36 -05:00
Stan Hu
dd4642813b Ignore spaces in authorized emails list 2015-12-23 00:08:51 -08:00
Jehiah Czebotar
beebf4dff9 Merge pull request #182 from funkymrrogers/master
Google UI changes
2015-12-16 20:20:48 -05:00
funkymrrogers
0fad1da1df Google UI changes
Google changed to developer console UI, updated walkthrough to match new UI.
2015-12-16 19:10:38 -06:00
Mike Bland
e4626c1360 Sign Upstream requests with HMAC. closes #147 2015-11-15 22:09:30 -05:00
Reda Ahdjoudj
35547a40cb adding option to skip provider button sign_in page 2015-11-11 11:42:35 +11:00
Jehiah Czebotar
7c241ec1fe Merge pull request #153 from 18F/auth-only-endpoint
Add /auth endpoint to support Nginx's auth_request
2015-11-09 11:12:16 -05:00
Mike Bland
d247274b06 Add nginx auth_request config to README 2015-11-09 11:00:18 -05:00
Mike Bland
462f6d03d2 Extract Authenticate for Proxy, AuthenticateOnly 2015-11-09 10:32:16 -05:00
Mike Bland
e61fc9e7a6 Add /auth endpoint to support Nginx's auth_request
Closes #152.
2015-11-09 10:31:41 -05:00
Jehiah Czebotar
e6e2dbe459 Merge pull request #164 from philips/go-code-style
Go code style
2015-11-09 09:37:11 -05:00
Brandon Philips
6db18804f3 *: rename Oauth to OAuth
Be consistent with Go capitalization styling and use a single way of
spelling this across the tree.
2015-11-09 00:57:01 +01:00
Brandon Philips
1ff2fce25b oauthproxy: rename Uri to URI
Be consistent with Go coding style for acroynyms.
2015-11-09 00:50:42 +01:00
Brandon Philips
51a2e4e48c *: rename Url to URL everywhere
Go coding style says that acronyms should be all lower or all upper. Fix
Url to URL.
2015-11-09 00:47:44 +01:00
Jehiah Czebotar
1b0144ba75 Merge pull request #148 from johnboxall/patch-1
Pass `ProxyPrefix` into the error template.
2015-10-03 20:06:23 -04:00
John Boxall
a653c3eeeb Pass ProxyPrefix into the error template.
The default `error.html` uses `ProxyPrefix` but it isn't supplied in the context, causing it to error.
2015-10-03 15:59:47 -07:00
Jehiah Czebotar
3ed828ef45 Merge pull request #142 from Tenzer/static-file-server
Add support for serving static files from a directory
2015-09-24 09:48:04 -04:00
Jeppe Toustrup
ffeccfe552 Add support for serving static files from a directory
The path should be provided as a file:// url with the full operating system path.
An alias to where the directory is available as can be specified by appending
a fragment (ie. "#/static/") at the end of the URL.
2015-09-24 15:37:45 +02:00
Jehiah Czebotar
2a784ae0d0 Merge pull request #139 from jburnham/google_group_auth
[RDY] google: Support restricting access to a specific group(s)
2015-09-09 07:19:33 -04:00
Justin Burnham
3fd8f911c2 google: Support restricting access to a specific group(s) 2015-09-09 02:10:32 -07:00
Jehiah Czebotar
d1c0208824 Merge pull request #131 from ebardsley/master
Allow passing the value of "approval_prompt" as a flag or option.
2015-08-27 07:33:07 -04:00
Jehiah Czebotar
ba81a0d30a Merge pull request #137 from guotie/master
Update github.go
2015-08-25 12:22:40 -04:00
铁哥
8da7325683 Update github.go 2015-08-26 00:11:24 +08:00
Jehiah Czebotar
7ba51ba9f2 Merge pull request #133 from sricola/master
Google auth configuration screen flow has changed
2015-08-09 15:22:02 -04:00
Srivatsa Ray
85fcd66be6 Google auth configuration screen flow has changed 2015-08-09 12:08:21 -07:00