bruno icon indicating copy to clipboard operation
bruno copied to clipboard

OAuth 2.0 Client Credentials, Client Secret value saved cleartext in .bru

Open ochong-mitre opened this issue 1 year 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
  • [x] slowing me down but I'm able to continue working
  • [x] annoying
  • [ ] this feature was working in a previous version but is broken in the current release.

Bruno version

2.3.0

Operating System

macOS 15.5

Describe the bug

OAuth 2.0 Client Credentials specified Client Secret value is saved in the .bru making it easy to leak credentials or accidentally commit them to SCM. This is also true for OAuth configuration at the Collection level.

.bru file to reproduce the bug

OAuth Token UI Bug.json

Screenshots/Live demo link

Image

Image

ochong-mitre avatar May 22 '25 15:05 ochong-mitre

Similar https://github.com/usebruno/bruno/issues/3497. @ochong-mitre please checkout the tagged issue for updates regarding this. This is how we are planning to tackle this https://github.com/usebruno/bruno/issues/3497#issuecomment-2729919050

anusree-bruno avatar Jun 17 '25 08:06 anusree-bruno

Closing this as a duplicate. Please follow #3497 for further updates.

anusree-bruno avatar Jun 17 '25 08:06 anusree-bruno