justin-slowik 
							
						 
					 
					
						
						
							
						
						9a7926c19b 
					 
					
						
						
							
							Cleaned up Device Flow test log levels  
						
						... 
						
						
						
						Signed-off-by: justin-slowik <justin.slowik@thermofisher.com >
Remove extraneous "=" from conformance.go
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk >
Additional test for TestHandleDeviceCode
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com > 
						
						
					 
					
						2020-07-21 16:01:08 -04:00 
						 
				 
			
				
					
						
							
							
								justin-slowik 
							
						 
					 
					
						
						
							
						
						1404477326 
					 
					
						
						
							
							Updates based on dexidp pr  
						
						... 
						
						
						
						Signed-off-by: justin-slowik <justin.slowik@thermofisher.com > 
						
						
					 
					
						2020-07-08 16:25:06 -04:00 
						 
				 
			
				
					
						
							
							
								Justin Slowik 
							
						 
					 
					
						
						
							
						
						9c699b1028 
					 
					
						
						
							
							Server integration test for Device Flow ( #3 )  
						
						... 
						
						
						
						Extracted test cases from OAuth2Code flow tests to reuse in device flow
deviceHandler unit tests to test specific device endpoints
Include client secret as an optional parameter for standards compliance
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com > 
						
						
					 
					
						2020-07-08 16:25:05 -04:00 
						 
				 
			
				
					
						
							
							
								Justin Slowik 
							
						 
					 
					
						
						
							
						
						9bbdc721d5 
					 
					
						
						
							
							Device flow token code exchange ( #2 )  
						
						... 
						
						
						
						* Added /device/token handler with associated business logic and storage tests.
Perform user code exchange, flag the device code as complete.
Moved device handler code into its own file for cleanliness.  Cleanup
* Removed PKCE code
* Rate limiting for /device/token endpoint based on ietf standards
* Configurable Device expiry
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com > 
						
						
					 
					
						2020-07-08 16:25:05 -04:00 
						 
				 
			
				
					
						
							
							
								Justin Slowik 
							
						 
					 
					
						
						
							
						
						0d1a0e4129 
					 
					
						
						
							
							Device token api endpoint ( #1 )  
						
						... 
						
						
						
						* Added /device/token handler with associated business logic and storage tests.
* Use crypto rand for user code
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com > 
						
						
					 
					
						2020-07-08 16:25:05 -04:00 
						 
				 
			
				
					
						
							
							
								Justin Slowik 
							
						 
					 
					
						
						
							
						
						6d343e059b 
					 
					
						
						
							
							Generates/Stores the device request and returns the device and user codes.  
						
						... 
						
						
						
						Signed-off-by: justin-slowik <justin.slowik@thermofisher.com > 
						
						
					 
					
						2020-07-08 16:25:05 -04:00 
						 
				 
			
				
					
						
							
							
								Nándor István Krácser 
							
						 
					 
					
						
						
							
						
						371df97cbf 
					 
					
						
						
							
							Merge pull request  #1743  from dexidp/docker-compose  
						
						... 
						
						
						
						add docker-compose.yaml for local testing 
						
						
					 
					
						2020-06-30 14:12:49 +02:00 
						 
				 
			
				
					
						
							
							
								Nandor Kracser 
							
						 
					 
					
						
						
							
						
						5b7a664e9d 
					 
					
						
						
							
							add docker-compose for local testing  
						
						
						
						
					 
					
						2020-06-30 13:46:05 +02:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						af9dfd4a29 
					 
					
						
						
							
							Remove copypasta dependency  
						
						
						
						
					 
					
						2020-06-30 13:12:36 +02:00 
						 
				 
			
				
					
						
							
							
								Kyle Travis 
							
						 
					 
					
						
						
							
						
						cfae2eb720 
					 
					
						
						
							
							storage/kubernetes: remove shadowed ResourceVersion from Connector ( #1673 )  
						
						
						
						
					 
					
						2020-04-07 11:02:44 +02:00 
						 
				 
			
				
					
						
							
							
								Nándor István Krácser 
							
						 
					 
					
						
						
							
						
						ec57e31103 
					 
					
						
						
							
							Merge pull request  #1645  from JerrySunWRS/master  
						
						... 
						
						
						
						Wrap Kubernetes host address in square brackets 
						
						
					 
					
						2020-03-27 08:35:30 +01:00 
						 
				 
			
				
					
						
							
							
								Yann Soubeyrand 
							
						 
					 
					
						
						
							
						
						99c3ec6820 
					 
					
						
						
							
							Add ability to set ID and Secret from environment variables for static clients  
						
						... 
						
						
						
						Having ID and Secret in clear inside configuration files for static
clients is not ideal. This commit allows setting these from environment
variables.
Signed-off-by: Yann Soubeyrand <yann.soubeyrand@gmx.fr > 
						
						
					 
					
						2020-03-03 08:27:13 +01:00 
						 
				 
			
				
					
						
							
							
								Nandor Kracser 
							
						 
					 
					
						
						
							
						
						c7e9960c7e 
					 
					
						
						
							
							storage/mysql: increase auth_request.state length to 4096  
						
						... 
						
						
						
						Signed-off-by: Nandor Kracser <bonifaido@gmail.com > 
						
						
					 
					
						2020-02-21 12:53:18 +01:00 
						 
				 
			
				
					
						
							
							
								Nandor Kracser 
							
						 
					 
					
						
						
							
						
						80749ffd3f 
					 
					
						
						
							
							storage/sql: allow specifying sql flavor specific migrations  
						
						... 
						
						
						
						Signed-off-by: Nandor Kracser <bonifaido@gmail.com > 
						
						
					 
					
						2020-02-21 12:53:18 +01:00 
						 
				 
			
				
					
						
							
							
								Jerry Sun 
							
						 
					 
					
						
						
							
						
						3a3a2bcc86 
					 
					
						
						
							
							Wrap Kubernetes host address in square brackets  
						
						... 
						
						
						
						When constructing the host address string, the address is
not wrapped in square brackets. This does not work in IPv6
Kubernetes deployments. This commit adds square brackets
around the address. IPv4 was also tested to ensure it works
with wrapped address.
Signed-off-by: Jerry Sun <jerry.sun@windriver.com > 
						
						
					 
					
						2020-02-06 14:52:54 -05:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						55b49063f8 
					 
					
						
						
							
							Update etcd  
						
						
						
						
					 
					
						2020-01-30 17:50:22 +01:00 
						 
				 
			
				
					
						
							
							
								Krishna Durai 
							
						 
					 
					
						
						
							
						
						9560899496 
					 
					
						
						
							
							Merge branch 'master' into feature/static_password_env  
						
						
						
						
					 
					
						2020-01-06 23:21:20 -08:00 
						 
				 
			
				
					
						
							
							
								Aiden Andrews-McDermott 
							
						 
					 
					
						
						
							
						
						98f78db915 
					 
					
						
						
							
							Updated config.go to remove the defaulting idle connection limit of 5 which is an issue for upstream  https://github.com/go-sql-driver/mysql/issues/674  
						
						
						
						
					 
					
						2019-12-27 18:08:17 +00:00 
						 
				 
			
				
					
						
							
							
								Márk Sági-Kazár 
							
						 
					 
					
						
						
							
						
						664fdf76ca 
					 
					
						
						
							
							Merge pull request  #1605  from dexidp/kubernetes-tests  
						
						... 
						
						
						
						Rewrite kubernetes tests 
						
						
					 
					
						2019-12-20 11:41:57 +01:00 
						 
				 
			
				
					
						
							
							
								Nándor István Krácser 
							
						 
					 
					
						
						
							
						
						f98332595e 
					 
					
						
						
							
							Merge branch 'master' into conformance_tests_improvements  
						
						
						
						
					 
					
						2019-12-20 09:56:59 +01:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						309b33d05a 
					 
					
						
						
							
							Rewrite kubernetes storage test  
						
						
						
						
					 
					
						2019-12-18 17:23:51 +01:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						2f8d1f8e42 
					 
					
						
						
							
							Fix unconvert  
						
						
						
						
					 
					
						2019-12-18 15:56:46 +01:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						f141f2133b 
					 
					
						
						
							
							Fix whitespace  
						
						
						
						
					 
					
						2019-12-18 15:56:12 +01:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						367b187cf4 
					 
					
						
						
							
							Fix missspell  
						
						
						
						
					 
					
						2019-12-18 15:51:44 +01:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						142c96c210 
					 
					
						
						
							
							Fix stylecheck  
						
						
						
						
					 
					
						2019-12-18 15:50:36 +01:00 
						 
				 
			
				
					
						
							
							
								krishnadurai 
							
						 
					 
					
						
						
							
						
						91cbd466a5 
					 
					
						
						
							
							Option to add staticPasswords from environment variables  
						
						
						
						
					 
					
						2019-12-13 16:33:21 -08:00 
						 
				 
			
				
					
						
							
							
								Mark Sagi-Kazar 
							
						 
					 
					
						
						
							
						
						0773c6e9f3 
					 
					
						
						
							
							Add github actions CI flow  
						
						
						
						
					 
					
						2019-12-07 11:14:30 +01:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						c782ac809c 
					 
					
						
						
							
							Remove defaulting from connector_data column  
						
						
						
						
					 
					
						2019-11-19 15:43:24 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						45a40a13a3 
					 
					
						
						
							
							Revert "Update Kubernetes storage backend"  
						
						... 
						
						
						
						This reverts commit 228bdc324877bf67ecdd434503b9c1b25d8e7d28. 
						
						
					 
					
						2019-11-19 15:43:18 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						236b25b68e 
					 
					
						
						
							
							Revert "Fix ETCD storage backend"  
						
						
						
						
					 
					
						2019-11-19 15:43:17 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						41b7c855d0 
					 
					
						
						
							
							Revert "Update conformance"  
						
						... 
						
						
						
						This reverts commit 9c7ceabe8aebf6c740c237c5e76c21397179f901. 
						
						
					 
					
						2019-11-19 15:43:16 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						9ce4393156 
					 
					
						
						
							
							Revert "Update SQL storage backend"  
						
						
						
						
					 
					
						2019-11-19 15:43:15 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						176ba709a4 
					 
					
						
						
							
							Revert "Remove connectordata from other structs"  
						
						... 
						
						
						
						This reverts commit 27f33516db343bd79b56a47ecef0fe514a35082d. 
						
						
					 
					
						2019-11-19 15:43:14 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						fea048b3e8 
					 
					
						
						
							
							Fix SQL updater func  
						
						
						
						
					 
					
						2019-11-19 15:43:13 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						d38909831c 
					 
					
						
						
							
							Fix migration in SQL connector  
						
						... 
						
						
						
						I didn't realise quite what the migration mechanism was. Have understood
it now. 
						
						
					 
					
						2019-11-19 15:43:13 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						80995dff9b 
					 
					
						
						
							
							Fix SQL storage  
						
						
						
						
					 
					
						2019-11-19 15:43:10 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						b9b315dd64 
					 
					
						
						
							
							Fix conformance tests  
						
						
						
						
					 
					
						2019-11-19 15:43:09 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						7a76c767fe 
					 
					
						
						
							
							Update Kubernetes storage backend  
						
						
						
						
					 
					
						2019-11-19 15:43:08 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						c54f1656c7 
					 
					
						
						
							
							Fix ETCD storage backend  
						
						
						
						
					 
					
						2019-11-19 15:43:07 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						c789c5808e 
					 
					
						
						
							
							Update conformance  
						
						
						
						
					 
					
						2019-11-19 15:43:06 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						7fc3f230df 
					 
					
						
						
							
							Update SQL storage backend  
						
						
						
						
					 
					
						2019-11-19 15:43:05 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						5c88713177 
					 
					
						
						
							
							Remove connectordata from other structs  
						
						
						
						
					 
					
						2019-11-19 15:43:03 +00:00 
						 
				 
			
				
					
						
							
							
								Joel Speed 
							
						 
					 
					
						
						
							
						
						575c792156 
					 
					
						
						
							
							Store most recent refresh token in offline sessions  
						
						
						
						
					 
					
						2019-11-19 15:40:56 +00:00 
						 
				 
			
				
					
						
							
							
								Nándor István Krácser 
							
						 
					 
					
						
						
							
						
						d5d3abca6a 
					 
					
						
						
							
							Merge pull request  #1566  from dexidp/preferred_username  
						
						... 
						
						
						
						add preffered_username to idToken 
						
						
					 
					
						2019-10-30 13:25:23 +01:00 
						 
				 
			
				
					
						
							
							
								Nandor Kracser 
							
						 
					 
					
						
						
							
						
						c1b421fa04 
					 
					
						
						
							
							add preffered_username to idToken  
						
						... 
						
						
						
						Signed-off-by: Nandor Kracser <bonifaido@gmail.com > 
						
						
					 
					
						2019-10-30 13:06:37 +01:00 
						 
				 
			
				
					
						
							
							
								Tomasz Kleczek 
							
						 
					 
					
						
						
							
						
						42d61191c4 
					 
					
						
						
							
							storage: conformance tests improvements  
						
						
						
						
					 
					
						2019-09-27 13:54:54 +02:00 
						 
				 
			
				
					
						
							
							
								Nandor Kracser 
							
						 
					 
					
						
						
							
						
						d2c33db8a8 
					 
					
						
						
							
							storage/mysql: support pre-5.7.20 instances with tx_isolation only  
						
						
						
						
					 
					
						2019-09-23 09:36:01 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Venezia 
							
						 
					 
					
						
						
							
						
						395febf808 
					 
					
						
						
							
							storage/kubernetes: Removing Kubernetes TPR support  
						
						... 
						
						
						
						Third Party Resources (TPR) have been removed from Kubernetes for
roughly 2 years.  This commit removes the support dex had for them.
Documentation has been updated to reflect this and to instruct users
on how to migrate from TPR-powered dex environment to a Custom Resource
Defintion (CRD) based one that dex > v2.17 will support 
						
						
					 
					
						2019-08-14 09:28:18 -04:00 
						 
				 
			
				
					
						
							
							
								Stephan Renatus 
							
						 
					 
					
						
						
							
						
						d9487e553b 
					 
					
						
						
							
							*: fix some lint issues  
						
						... 
						
						
						
						Mostly gathered these using golangci-lint's deadcode and ineffassign
linters.
Signed-off-by: Stephan Renatus <srenatus@chef.io > 
						
						
					 
					
						2019-07-30 11:29:08 +02:00 
						 
				 
			
				
					
						
							
							
								Nandor Kracser 
							
						 
					 
					
						
						
							
						
						a572ad8fec 
					 
					
						
						
							
							storage/sql: rework of the original MySQL PR  
						
						
						
						
					 
					
						2019-07-23 14:27:10 +02:00