azure-sdk-for-js icon indicating copy to clipboard operation
azure-sdk-for-js copied to clipboard

[@azure/identity] InteractiveBrowserCredential: allow openBrowser to be passed as options

Open bmiddha opened this issue 11 months ago • 3 comments

Packages impacted by this PR

@azure/identity

Describe the problem that is addressed by this PR

Allow consumer to override openBrowser via options for InteractiveBrowserCredential in node.

This change would allow scenarios to override the openBrowser function. This will be useful in cases where a browser is not available. For example: remote development over ssh in a terminal, the local server for interactive browser can still listen for requests through ssh's port tunneling but won't be a browser in many environments.

bmiddha avatar Mar 19 '24 05:03 bmiddha