Skip to content

OAuth2 - Using system browser for 'Authorization code grant type' reopens Bruno in new windowΒ #6710

@LowieDelneste

Description

@LowieDelneste

I have checked the following:

  • 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

3.0.1

Operating System

Windows 11 26100.7462

Describe the bug

Hi

I've configured OAuth2 code grant on collection level. When Bruno tries to fetch a new access token, the following flow occurs:

  1. Opens system browser
  2. Sign in IdP (in my case Entra ID)
  3. Redirects using the default callback url (https://oauth.usebrune.com/callback)
  4. Reopens a new Bruno instance

Because of step 4, the access token isn't correctly saved in Bruno. Probably because the new instance doesn't know what to do with it.
I can't use the built-in browser, because that one doesn't has passkey functionality.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions