cdebfd6436 
								
							 
						 
						
							
							
								
								base64 cookie support  
							
							
							
						 
						
							2016-06-20 07:45:43 -04:00  
				
					
						
							
							
								 
						
							
								e4626c1360 
								
							 
						 
						
							
							
								
								Sign Upstream requests with HMAC.  closes   #147  
							
							
							
						 
						
							2015-11-15 22:09:30 -05:00  
				
					
						
							
							
								 
						
							
								e61fc9e7a6 
								
							 
						 
						
							
							
								
								Add /auth endpoint to support Nginx's auth_request  
							
							... 
							
							
							
							Closes  #152 . 
						
							2015-11-09 10:31:41 -05:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								7dd5d299e1 
								
							 
						 
						
							
							
								
								Add support for setting the basic auth password.  
							
							... 
							
							
							
							For tools that don't like empty passwords, this change allows
one to set a shared secret password for all users. 
							
						 
						
							2015-07-24 09:17:43 +00:00  
				
					
						
							
							
								 
						
							
								d49c3e167f 
								
							 
						 
						
							
							
								
								SessionState refactoring; improve token renewal and cookie refresh  
							
							... 
							
							
							
							* 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 
							
						 
						
							2015-07-02 23:09:11 -04:00  
				
					
						
							
							
								 
						
							
								e9b5631eed 
								
							 
						 
						
							
							
								
								cookie refresh: validation fixes, interval changes  
							
							... 
							
							
							
							* refresh now calculated as duration from cookie set 
							
						 
						
							2015-06-23 07:51:00 -04:00  
				
					
						
							
							
								 
						
							
								d78aa13464 
								
							 
						 
						
							
							
								
								v2.0 & cleanup changes  
							
							... 
							
							
							
							* bump version to 2.0
* remove --cookie-https-only option
* add windows build to dist.sh
* rename --cookie-key to --cookie-name 
							
						 
						
							2015-06-12 13:07:26 -04:00  
				
					
						
							
							
								 
						
							
								b96a078839 
								
							 
						 
						
							
							
								
								Project Rename -> oauth2_proxy  
							
							
							
						 
						
							2015-05-21 02:55:04 -04:00  
				
					
						
							
							
								 
						
							
								37b38dd2f4 
								
							 
						 
						
							
							
								
								Github provider  
							
							
							
						 
						
							2015-05-21 02:21:19 -04:00  
				
					
						
							
							
								 
						
							
								8471f972e1 
								
							 
						 
						
							
							
								
								Move ValidateToken() to Provider  
							
							
							
						 
						
							2015-05-21 02:06:23 -04:00  
				
					
						
							
							
								 
						
							
								9047920e90 
								
							 
						 
						
							
							
								
								Merge pull request  #88  from 18F/auto-refresh  
							
							... 
							
							
							
							Auto refresh auth token 
							
						 
						
							2015-05-11 22:24:50 -04:00  
				
					
						
							
							
								 
						
							
								5b07d9fcef 
								
							 
						 
						
							
							
								
								Provide a robots.txt that denies all crawlers  
							
							
							
						 
						
							2015-05-10 15:15:52 -04:00  
				
					
						
							
							
								 
						
							
								37f287bef4 
								
							 
						 
						
							
							
								
								Calculate cookie expiration from encoded timestamp  
							
							... 
							
							
							
							Found out the hard way that _incoming_ cookies do _not_ have their expiration
timestamps encoded. To perform auto-refresh based on expiration time, we have
to recalculate it from the time encoded in the cookie value. 
							
						 
						
							2015-05-10 00:11:26 -04:00  
				
					
						
							
							
								 
						
							
								84190ab19a 
								
							 
						 
						
							
							
								
								Validate user during cookie refresh  
							
							
							
						 
						
							2015-05-09 16:54:27 -04:00  
				
					
						
							
							
								 
						
							
								610341a068 
								
							 
						 
						
							
							
								
								Make ProcessCookie() fail when cookie parse fails  
							
							
							
						 
						
							2015-05-09 16:54:27 -04:00  
				
					
						
							
							
								 
						
							
								bd4eae8fec 
								
							 
						 
						
							
							
								
								Store access token when cookie-refresh is set  
							
							... 
							
							
							
							cookie-refresh now no longer requires pass-access-token in order to work. 
							
						 
						
							2015-05-09 16:54:27 -04:00  
				
					
						
							
							
								 
						
							
								b6e07d51b2 
								
							 
						 
						
							
							
								
								Validate access_token when auto-refreshing cookie  
							
							
							
						 
						
							2015-05-09 15:09:31 -04:00  
				
					
						
							
							
								 
						
							
								25372567ac 
								
							 
						 
						
							
							
								
								ValidateToken() to check access_token validity  
							
							
							
						 
						
							2015-05-09 13:17:37 -04:00  
				
					
						
							
							
								 
						
							
								8e2d83600c 
								
							 
						 
						
							
							
								
								Implement cookie auto-refresh  
							
							... 
							
							
							
							The intention is to refresh the cookie whenever the user accesses an
authenticated service with less than `cookie-refresh` time to go before the
cookie expires. 
							
						 
						
							2015-05-08 14:05:09 -04:00  
				
					
						
							
							
								 
						
							
								5cbdb74518 
								
							 
						 
						
							
							
								
								Add ProcessCookie() test  
							
							
							
						 
						
							2015-05-08 14:05:09 -04:00  
				
					
						
							
							
								 
						
							
								83ad43a571 
								
							 
						 
						
							
							
								
								Make proper PassAccessTokenTest methods  
							
							
							
						 
						
							2015-04-07 10:11:35 -04:00  
				
					
						
							
							
								 
						
							
								5f747bb768 
								
							 
						 
						
							
							
								
								Redirect to / when /oauth2/sign_in accessed  
							
							... 
							
							
							
							Without this change, clicking the sign-in button on /oauth2/sign_in will
always redirect back to /oauth2/sign_in, essentially creating an infinite
loop. 
							
						 
						
							2015-04-06 22:10:03 -04:00  
				
					
						
							
							
								 
						
							
								ad3c9a886f 
								
							 
						 
						
							
							
								
								Pass the access token to the upstream client  
							
							... 
							
							
							
							This is accomplished by encoding the access_token in the auth cookie and
unpacking it as the X-Forwarded-Access-Token header for upstream requests. 
							
						 
						
							2015-04-03 15:32:01 -04:00  
				
					
						
							
							
								 
						
							
								a9837f90aa 
								
							 
						 
						
							
							
								
								Ensure TestNewReverseProxy() passes when offline  
							
							... 
							
							
							
							This reflects the apparent intent of TestNewReverseProxy(). Without this
change, the test will fail when run without an Internet connection. 
							
						 
						
							2015-04-02 21:38:48 -04:00  
				
					
						
							
							
								 
						
							
								16f2c981f3 
								
							 
						 
						
							
							
								
								fix upstream request path  
							
							
							
						 
						
							2015-03-21 15:29:07 -04:00  
				
					
						
							
							
								 
						
							
								71ae70834d 
								
							 
						 
						
							
							
								
								pass raw unencoded request URI upstream  
							
							
							
						 
						
							2015-03-19 13:18:49 -04:00  
				
					
						
							
							
								 
						
							
								263e16eeea 
								
							 
						 
						
							
							
								
								add --proxy-host-header option  
							
							
							
						 
						
							2015-03-17 15:53:01 -04:00  
				
					
						
							
							
								 
						
							
								20a152261c 
								
							 
						 
						
							
							
								
								Adds failing test for using upstream Host header.  
							
							
							
						 
						
							2015-03-17 15:04:27 -04:00