Skip to content

Commit 775e8b5

Browse files
committed
Minor refactor based on underlying changes
1 parent e4405e4 commit 775e8b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

msal/application.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,7 @@ def acquire_token_by_authorization_code(
320320
self._validate_ssh_cert_input_data(kwargs.get("data", {}))
321321
return self.client.obtain_token_by_authorization_code(
322322
code, redirect_uri=redirect_uri,
323-
data=dict(
324-
kwargs.pop("data", {}),
325-
scope=decorate_scope(scopes, self.client_id)),
323+
scope=decorate_scope(scopes, self.client_id),
326324
headers={
327325
CLIENT_REQUEST_ID: _get_new_correlation_id(),
328326
CLIENT_CURRENT_TELEMETRY: _build_current_telemetry_request_header(

0 commit comments

Comments
 (0)