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):
4848 'grant_type' : 'client_credentials' ,
4949 'scope' : ' ' .join (self ._config ["client" ]["scopes" ]),
5050 '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'
5352 }
5453
5554 encoded_parameters = urlencode (parameters , quote_via = quote )
@@ -59,7 +58,7 @@ async def get_access_token(self):
5958
6059 # Craft request
6160 oauth_req , err = await self ._request_executor .create_request (
62- "POST" , url , None , {
61+ "POST" , url , { 'client_assertion' : jwt } , {
6362 'Accept' : "application/json" ,
6463 'Content-Type' : 'application/x-www-form-urlencoded'
6564 }, oauth = True )
You can’t perform that action at this time.
0 commit comments