sources/oauth: fix duplicate authentication (#13322) Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens L. <jens@goauthentik.io>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							8a668af5f6
						
					
				
				
					commit
					db43869e25
				
			@ -68,8 +68,6 @@ class OAuth2Client(BaseOAuthClient):
 | 
			
		||||
            error_desc = self.get_request_arg("error_description", None)
 | 
			
		||||
            return {"error": error_desc or error or _("No token received.")}
 | 
			
		||||
        args = {
 | 
			
		||||
            "client_id": self.get_client_id(),
 | 
			
		||||
            "client_secret": self.get_client_secret(),
 | 
			
		||||
            "redirect_uri": callback,
 | 
			
		||||
            "code": code,
 | 
			
		||||
            "grant_type": "authorization_code",
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user