bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Auth OAuth2.0 + Grant Type : Client Credentials + Add Credentials to : Request Body >> Get Access Token Action = BUG Page

Open elans-git opened this issue 1 month ago β€’ 2 comments

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.
  • [ ] Slowing me down but I'm able to continue working.
  • [ ] Annoying.
  • [ ] This feature was working in a previous version but is broken in the current release.

Bruno version

4.3.0

πŸ’» Operating System

Windows

Specific OS Version / Distro

No response

🐞 Describe the bug

Stack Trace Minified React error #31; visit https://react.dev/errors/31?args[]=object%20with%20keys%20%7BtargetSite%2C%20message%2C%20data%2C%20innerException%2C%20helpLink%2C%20source%2C%20hResult%2C%20stackTrace%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Error: Minified React error #31; visit https://react.dev/errors/31?args[]=object%20with%20keys%20%7BtargetSite%2C%20message%2C%20data%2C%20innerException%2C%20helpLink%2C%20source%2C%20hResult%2C%20stackTrace%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at rF (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:33308) at i (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:38733) at file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:38931 at aH (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:59306) at ot (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:75388) at ua (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:111807) at file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:111652 at ul (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:111660) at i3 (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:108830) at uT (file:///C:/Users/fsa/AppData/Local/Programs/Bruno/resources/app.asar/web/static/js/lib-react.37c09683.js:2:128617)

πŸ“ Steps to reproduce

Try to "Get Access Token"

Auth : OAuth2.0 Grant Type : Client Credentials Add Credentials to : Request Body

other options : default

Get Access Token Action = BUG Page

If you change Add Credentials to : Basic Auth Header

Get Access Token : OK

πŸ“ Collection to reproduce

No response

πŸ“· Screenshots/Live demo link

Image

elans-git avatar Oct 30 '26 08:10 elans-git

Hi @elans-git, thanks for the report! To reproduce this, could you share:

  1. Access Token URL. The token endpoint (host can be redacted). Is it built from environment variables?
  2. Settings. Is a Client Secret set? Any Scope or Additional Parameters? A screenshot of the Auth tab (secrets hidden) works.
  3. Token response. Calling the token URL with credentials in the body (curl or Postman), what’s the HTTP status code and response body?
  4. Authorization server. Which product or framework (IdentityServer/Duende, Azure AD, Keycloak, custom .NET API…)? Any gateway or proxy in front?
  5. Does it crash every time you click Get Access Token?

Could you also help us with a screen recording demonstrating the error and when changing to "Basic Auth Header" where the token is fetched.

Rohan-Bruno avatar Nov 02 '26 06:11 Rohan-Bruno

  1. with environment variables for the URL Base - the end URL directly
  2. with environment variables
  3. no try this method
  4. Using an API without having the technical details – but the API works when called from .NET
  5. Yes

elans-git avatar Nov 13 '26 10:11 elans-git