-
Notifications
You must be signed in to change notification settings - Fork 1.6k
OAuth2.0 - client_credentials error: The request body must contain the following parameter: 'grant_type' #1938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also testing against Microsoft Azure AD / Entra Id and get a similar error with version 1.12.3 of Bruno Likely caused by Bruno sending the request body payload for client_credentials with content-type RFC6749 - The OAuth 2.0 Authorization Framework expects the content type to be MS Azure AD/Entra ID follows the standard only and expects Likely needs adjustment in
|
Yes, this seems to be the issue. I tried replicating these scenarios directly. Can +1 this. |
This will go out in the 1.13.0 release. Please subscribe to Discord announcement channel to stay notified on the releases. |
Using the 1.13.0 version, it still seems to be giving an error. Even though I click the "Get Access Token" button, still the Timeline shows the data being sent to the Request URL (Not the Access Token URL) as json, but with the client ID and secret instead, which should be sent as a GET to the Access token URL and then the token generated should be sent to the Request URL instead of what is seemingly happening. |
This has been added. Closing the ticket |
When I use OAuth2 with client_credentials, I get the following error:
This is replicated if I click on "Get Access Token" or when sending the request.
Same details work absolutely fine with postman.
The text was updated successfully, but these errors were encountered: