@azure/identity 2.1.0-alpha.20220505.1 → 2.1.0-alpha.20220513.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 +3 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -90,10 +90,12 @@ If interactive authentication cannot be supported in the session, then the `-Use
|
|
|
90
90
|
|
|
91
91
|
Developers using Visual Studio Code can use the [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) to authenticate via the editor. Apps using `DefaultAzureCredential` or `VisualStudioCodeCredential` can then use this account to authenticate calls in their app when running locally.
|
|
92
92
|
|
|
93
|
-
To authenticate in Visual Studio Code, ensure
|
|
93
|
+
To authenticate in Visual Studio Code, ensure the Azure Account extension is installed. Once installed, open the **Command Palette** and run the **Azure: Sign In** command.
|
|
94
94
|
|
|
95
95
|
Additionally, use the [`@azure/identity-vscode`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode) plugin package. This package provides the dependencies of `VisualStudioCodeCredential` and enables it. See [Plugins](##plugins).
|
|
96
96
|
|
|
97
|
+
It's a [known issue](https://github.com/Azure/azure-sdk-for-js/issues/20500) that `VisualStudioCodeCredential` doesn't work with [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) versions newer than **0.9.11**. A long-term fix to this problem is in progress. In the meantime, consider [authenticating via the Azure CLI](#authenticating-via-the-azure-cli).
|
|
98
|
+
|
|
97
99
|
### Authenticate the client in browsers
|
|
98
100
|
|
|
99
101
|
To authenticate Azure SDKs within web browsers, we currently offer the `InteractiveBrowserCredential`, which can be set to use redirection or popups to complete the authentication flow. It is necessary to [create an Azure App Registration](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) in the portal for your web application first.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/identity",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "2.1.0-alpha.
|
|
4
|
+
"version": "2.1.0-alpha.20220513.2",
|
|
5
5
|
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Azure Active Directory",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist-esm/src/index.js",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@azure/core-rest-pipeline": "^1.1.0",
|
|
110
110
|
"@azure/logger": "^1.0.0",
|
|
111
111
|
"@azure/abort-controller": "^1.0.0",
|
|
112
|
-
"@azure/msal-common": "^
|
|
112
|
+
"@azure/msal-common": "^6.3.0",
|
|
113
113
|
"@azure/msal-node": "^1.3.0",
|
|
114
114
|
"@azure/msal-browser": "^2.16.0",
|
|
115
115
|
"events": "^3.0.0",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"mocha-junit-reporter": "^2.0.0",
|
|
150
150
|
"nyc": "^15.0.0",
|
|
151
151
|
"prettier": "^2.5.1",
|
|
152
|
-
"puppeteer": "^
|
|
152
|
+
"puppeteer": "^14.0.0",
|
|
153
153
|
"rimraf": "^3.0.0",
|
|
154
154
|
"typescript": "~4.6.0",
|
|
155
155
|
"util": "^0.12.1",
|