azure-sdk-for-js
azure-sdk-for-js copied to clipboard
[@azure/identity] InteractiveBrowserCredential: allow openBrowser to be passed as options
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.