Auth OAuth2.0 + Grant Type : Client Credentials + Add Credentials to : Request Body >> Get Access Token Action = BUG Page
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
Hi @elans-git, thanks for the report! To reproduce this, could you share:
- Access Token URL. The token endpoint (host can be redacted). Is it built from environment variables?
- Settings. Is a Client Secret set? Any Scope or Additional Parameters? A screenshot of the Auth tab (secrets hidden) works.
- Token response. Calling the token URL with credentials in the body (curl or Postman), whatβs the HTTP status code and response body?
- Authorization server. Which product or framework (IdentityServer/Duende, Azure AD, Keycloak, custom .NET APIβ¦)? Any gateway or proxy in front?
- 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.
- with environment variables for the URL Base - the end URL directly
- with environment variables
- no try this method
- Using an API without having the technical details β but the API works when called from .NET
- Yes