create package server.auth with module oidc (former server.auth module)
This commit is contained in:
		
							parent
							
								
									67985a6bdb
								
							
						
					
					
						commit
						bba081156b
					
				
					 3 changed files with 2 additions and 1 deletions
				
			
		|  | @ -38,7 +38,7 @@ class Publication(DefaultPublication): | |||
| 
 | ||||
|     def beforeTraversal(self, request): | ||||
|         super(Publication, self).beforeTraversal(request) | ||||
|         from scopes.server.auth import authentication | ||||
|         from scopes.server.auth.oidc import authentication | ||||
|         prc = authentication.authenticate(request) | ||||
|         request.setPrincipal(prc) | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										1
									
								
								scopes/server/auth/__init__.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								scopes/server/auth/__init__.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| """package scopes.server.auth""" | ||||
		Loading…
	
	Add table
		
		Reference in a new issue