Skip to content

Commit 6eb415a

Browse files
committed
Improve remove unnecessary assignment
1 parent 6735b2e commit 6eb415a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pyop/provider.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ def _verify_client_authentication(self, request_body, http_headers=None):
410410
if http_headers is None:
411411
http_headers = {}
412412
token_request = dict(parse_qsl(request_body))
413-
client_id = verify_client_authentication(self.clients, token_request, http_headers.get('Authorization'))
414-
token_request['client_id'] = client_id
413+
token_request['client_id'] = verify_client_authentication(self.clients, token_request, http_headers.get('Authorization'))
415414
return token_request
416415

417416
def handle_userinfo_request(self, request=None, http_headers=None):

0 commit comments

Comments
 (0)