mirror of
https://github.com/usebruno/bruno.git
synced 2025-03-03 00:51:11 +01:00
Fix content-type in client_credentials oauth flow (#2039)
This commit is contained in:
parent
e7ff0ba5a8
commit
484f6ef0c1
@ -218,6 +218,7 @@ const configureRequest = async (
|
||||
const { data: clientCredentialsData, url: clientCredentialsAccessTokenUrl } =
|
||||
await transformClientCredentialsRequest(requestCopy);
|
||||
request.method = 'POST';
|
||||
request.headers['content-type'] = 'application/x-www-form-urlencoded';
|
||||
request.data = clientCredentialsData;
|
||||
request.url = clientCredentialsAccessTokenUrl;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user