minor config / testing fixes
This commit is contained in:
		
							parent
							
								
									d5616b207e
								
							
						
					
					
						commit
						bc2b0aaa2c
					
				
					 3 changed files with 3 additions and 5 deletions
				
			
		|  | @ -29,7 +29,7 @@ dbschema = getenv('DBSCHEMA', 'demo') | |||
| 
 | ||||
| # authentication settings | ||||
| oidc_provider = getenv('OIDC_PROVIDER', 'https://a1.cy7.de') | ||||
| oidc_client_id = getenv('OIDC_CLIENT_ID', '311613119816392525') | ||||
| oidc_client_id = getenv('OIDC_CLIENT_ID', '12345') | ||||
| oidc_params = dict( | ||||
|     op_config_url=oidc_provider + '/.well-known/openid-configuration', | ||||
|     op_uris=None, | ||||
|  | @ -42,7 +42,7 @@ oidc_params = dict( | |||
|     cookie_lifetime=getenv('OIDC_COOKIE_LIFETIME', '86400'), | ||||
|     cookie_crypt=getenv('OIDC_COOKIE_CRYPT', None), | ||||
|     private_key_file=getenv('OIDC_SERVICE_USER_PRIVATE_KEY_FILE', '.private-key.json'), | ||||
|     organization_id=getenv('OIDC_ORGANIZATION_ID', '311473502274248525'), | ||||
|     project_id=getenv('OIDC_PROJECT_ID', '311473502274248525'), | ||||
|     organization_id=getenv('OIDC_ORGANIZATION_ID', '12346'), | ||||
|     project_id=getenv('OIDC_PROJECT_ID', '12347'), | ||||
| ) | ||||
| 
 | ||||
|  |  | |||
|  | @ -38,7 +38,6 @@ from scopes.tests import data_auth # add oidc URIs and keys to dummy_requests da | |||
| from scopes.tests import dummy_requests | ||||
| sys.modules['requests'] = dummy_requests | ||||
| 
 | ||||
| 
 | ||||
| # authentication settings | ||||
| oidc_provider = 'test://oidc' | ||||
| oidc_client_id = getenv('OIDC_CLIENT_ID', '12345') | ||||
|  |  | |||
|  | @ -31,7 +31,6 @@ oidc_data = { | |||
|         "access_token": "abcde12345"}, | ||||
|     'test://oidc/v2/users/human': { | ||||
|         "code": 1} | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| from scopes.tests.dummy_requests import response_data | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue