Skip to content

Commit 0788b7d

Browse files
ashok672rayluo
andauthored
Update msal/application.py
Co-authored-by: Ray Luo <[email protected]>
1 parent 40f3c84 commit 0788b7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msal/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2341,8 +2341,8 @@ def initiate_device_flow(self, scopes=None, *, claims_challenge=None, **kwargs):
23412341
flow = self.client.initiate_device_flow(
23422342
scope=self._decorate_scope(scopes or []),
23432343
headers={msal.telemetry.CLIENT_REQUEST_ID: correlation_id},
2344-
claims_challenge=_merge_claims_challenge_and_capabilities(
2345-
self._client_capabilities, claims_challenge),
2344+
data={"claims": _merge_claims_challenge_and_capabilities(
2345+
self._client_capabilities, claims_challenge)},
23462346
**kwargs)
23472347
flow[self.DEVICE_FLOW_CORRELATION_ID] = correlation_id
23482348
return flow

0 commit comments

Comments
 (0)