File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ async def get_access_token(self):
48
48
'grant_type' : 'client_credentials' ,
49
49
'scope' : ' ' .join (self ._config ["client" ]["scopes" ]),
50
50
'client_assertion_type' :
51
- 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer' ,
52
- 'client_assertion' : jwt
51
+ 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer'
53
52
}
54
53
55
54
encoded_parameters = urlencode (parameters , quote_via = quote )
@@ -59,7 +58,7 @@ async def get_access_token(self):
59
58
60
59
# Craft request
61
60
oauth_req , err = await self ._request_executor .create_request (
62
- "POST" , url , None , {
61
+ "POST" , url , { 'client_assertion' : jwt } , {
63
62
'Accept' : "application/json" ,
64
63
'Content-Type' : 'application/x-www-form-urlencoded'
65
64
}, oauth = True )
You can’t perform that action at this time.
0 commit comments