Read oidc scopes from env
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			This commit is contained in:
		@@ -40,7 +40,7 @@ def do_login():
 | 
			
		||||
        "client_id": os.getenv("OIDC_CLIENT_ID"),
 | 
			
		||||
        "redirect_uri": url_for("oidc.login_callback", _external=True, _scheme='https'),
 | 
			
		||||
        "response_type": "code",
 | 
			
		||||
        "scope": "openid profile",
 | 
			
		||||
        "scope": os.getenv("OIDC_AVAILABLE_SCOPES").replace(",", " "),
 | 
			
		||||
    })
 | 
			
		||||
    return redirect(url)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user