Problem with OAuth2 flow
I have checked the following:
- [x] I have searched existing issues and found nothing related to my issue.
This bug is:
- [ ] making Bruno unusable for me
- [x] slowing me down but I'm able to continue working
- [x] annoying
- [x] this feature was working in a previous version but is broken in the current release.
Bruno version
2.13.2
Operating System
Windows 11 Enterprise 10.0.22631
Describe the bug
We have configured the Auth tab at the collection level to use OAuth 2.0 with Authorization Code. This worked perfectly, but we have recently updated to the latest version (2.13.2) and now we are getting the following error:
When checking the timeline, the /oauth2/v2.0/token returns a 400 response: "error":"invalid_request","error_description":"AADSTS900144: The request body must contain the following parameter: 'client_id'.
When I check the request body, the client_id is indeed not present.
Note that the login process itself works perfectly; only the fetching of the token fails in this case. Is it possible that this is a newly introduced bug, or did we do something wrong?
Thanks in advance.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
Update: apparently it works if we change the "Add Credentials to" setting to "Request Body" instead of using "Basic Auth Header". It's still weird that it suddenly stopped working, but for now we do have a workaround.
I just wanted to follow up on this. Did anyone have a chance to look at it, or is there more info I should provide?
@Gamingdevil Thanks for reporting. We will look into this
cc @sreelakshmi-bruno @lohit-bruno
Hi, I can confirm this is a bug and we'll get this fixed. Thanks!
Hi, we have a fix in place for this issue. The effort is being tracked in https://github.com/usebruno/bruno/issues/5452. Closing the issue since it's a duplicate. Thanks!