@azure/identity 2.1.0-alpha.20220609.3 → 2.1.0-alpha.20220614.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
package/README.md
CHANGED
|
@@ -329,7 +329,7 @@ Once that credential authenticates, the following message will appear in the log
|
|
|
329
329
|
azure:identity:info [Authenticated account] Client ID: HIDDEN. Tenant ID: HIDDEN. User Principal Name: HIDDEN. Object ID (user): HIDDEN
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
For assistance with troubleshooting, see the [troubleshooting guide](https://
|
|
332
|
+
For assistance with troubleshooting, see the [troubleshooting guide](https://aka.ms/azsdk/js/identity/troubleshoot).
|
|
333
333
|
|
|
334
334
|
## Next steps
|
|
335
335
|
|
package/dist/index.js
CHANGED
|
@@ -3243,7 +3243,8 @@ class MsalOpenBrowser extends MsalNode {
|
|
|
3243
3243
|
};
|
|
3244
3244
|
const response = await this.publicApp.getAuthCodeUrl(authCodeUrlParameters);
|
|
3245
3245
|
try {
|
|
3246
|
-
|
|
3246
|
+
// A new instance on macOS only which allows it to not hang, does not fix the issue on linux
|
|
3247
|
+
await interactiveBrowserMockable.open(response, { wait: true, newInstance: true });
|
|
3247
3248
|
}
|
|
3248
3249
|
catch (e) {
|
|
3249
3250
|
throw new CredentialUnavailableError(`InteractiveBrowserCredential: Could not open a browser window. Error: ${e.message}`);
|