@azure/msal-browser
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -5,2 +5,49 @@ { | ||
{ | ||
"date": "Wed, 14 Oct 2020 23:45:07 GMT", | ||
"tag": "@azure/msal-browser_v2.3.1", | ||
"version": "2.3.1", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Remove rogue console.log() in the BrowserCrypto.ts file and add a lint rule to prevent future issues (#2410)", | ||
"author": "prkanher@microsoft.com", | ||
"commit": "d2fc6bb778a79d9160474cebfc6c5a52bcf464ff", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Check for Headers class when configuring network client", | ||
"author": "janutter@microsoft.com", | ||
"commit": "15798f723cd9beb8f6160703168f3ff63bcb8793", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Update getItem to return ServerTelemetryEntity (#2223)", | ||
"author": "thomas.norling@microsoft.com", | ||
"commit": "82b982ba38d70d9060e3cf5d9c38e0203b60d963", | ||
"package": "@azure/msal-browser" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"comment": "Update docs to explain B2C invite flow (#2392)", | ||
"author": "thomas.norling@microsoft.com", | ||
"commit": "319fe7bb2f6e2c7ea905d1df10ed7665d64264f3", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Update README.md", | ||
"author": "prkanher@microsoft.com", | ||
"commit": "8f5e957039dfbfb0ecfa42a2f1244873d2f4b5b1", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Add enhanced documentation about responseMode in browser (#2228)", | ||
"author": "jamckenn@microsoft.com", | ||
"commit": "1c098e24d82c19f32dc5c493b76f46a89eca1828", | ||
"package": "@azure/msal-browser" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Fri, 02 Oct 2020 17:42:35 GMT", | ||
@@ -7,0 +54,0 @@ "tag": "@azure/msal-browser_v2.3.0", |
# Change Log - @azure/msal-browser | ||
This log was last generated on Fri, 02 Oct 2020 17:42:35 GMT and should not be manually modified. | ||
This log was last generated on Wed, 14 Oct 2020 23:45:07 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 2.3.1 | ||
Wed, 14 Oct 2020 23:45:07 GMT | ||
### Patches | ||
- Remove rogue console.log() in the BrowserCrypto.ts file and add a lint rule to prevent future issues (#2410) (prkanher@microsoft.com) | ||
- Check for Headers class when configuring network client (janutter@microsoft.com) | ||
- Update getItem to return ServerTelemetryEntity (#2223) (thomas.norling@microsoft.com) | ||
## 2.3.0 | ||
@@ -8,0 +18,0 @@ |
@@ -11,3 +11,3 @@ import { AuthorizationUrlRequest } from "@azure/msal-common"; | ||
* - extraScopesToConsent - Scopes for a different resource when the user needs consent upfront. | ||
* - responseMode - Specifies the method that should be used to send the authentication result to your app. Can be query, form_post, or fragment. If no value is passed in, it defaults to query. | ||
* - responseMode - Specifies the method that should be used to send the authentication result to your app. Fragment is the only valid option for msal-browser. | ||
* - codeChallenge - Used to secure authorization code grant via Proof of Key for Code Exchange (PKCE). For more information, see the PKCE RCF:https://tools.ietf.org/html/rfc7636 | ||
@@ -14,0 +14,0 @@ * - codeChallengeMethod - The method used to encode the code verifier for the code challenge parameter. Can be "plain" or "S256". If excluded, code challenge is assumed to be plaintext. For more information, see the PKCE RCF: https://tools.ietf.org/html/rfc7636 |
@@ -11,3 +11,3 @@ import { AuthorizationUrlRequest } from "@azure/msal-common"; | ||
* - extraScopesToConsent - Scopes for a different resource when the user needs consent upfront. | ||
* - responseMode - Specifies the method that should be used to send the authentication result to your app. Can be query, form_post, or fragment. If no value is passed in, it defaults to query. | ||
* - responseMode - Specifies the method that should be used to send the authentication result to your app. Fragment is the only valid option for msal-browser. | ||
* - codeChallenge - Used to secure authorization code grant via Proof of Key for Code Exchange (PKCE). For more information, see the PKCE RCF:https://tools.ietf.org/html/rfc7636 | ||
@@ -14,0 +14,0 @@ * - codeChallengeMethod - The method used to encode the code verifier for the code challenge parameter. Can be "plain" or "S256". If excluded, code challenge is assumed to be plaintext. For more information, see the PKCE RCF: https://tools.ietf.org/html/rfc7636 |
@@ -11,3 +11,3 @@ import { AuthorizationUrlRequest } from "@azure/msal-common"; | ||
* - extraScopesToConsent - Scopes for a different resource when the user needs consent upfront. | ||
* - responseMode - Specifies the method that should be used to send the authentication result to your app. Can be query, form_post, or fragment. If no value is passed in, it defaults to query. | ||
* - responseMode - Specifies the method that should be used to send the authentication result to your app. Fragment is the only valid option for msal-browser. | ||
* - codeChallenge - Used to secure authorization code grant via Proof of Key for Code Exchange (PKCE). For more information, see the PKCE RCF:https://tools.ietf.org/html/rfc7636 | ||
@@ -14,0 +14,0 @@ * - codeChallengeMethod - The method used to encode the code verifier for the code challenge parameter. Can be "plain" or "S256". If excluded, code challenge is assumed to be plaintext. For more information, see the PKCE RCF: https://tools.ietf.org/html/rfc7636 |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -99,4 +99,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@azure/msal-common": "^1.5.0" | ||
"@azure/msal-common": "^1.6.0" | ||
} | ||
} |
@@ -122,25 +122,41 @@ # Microsoft Authentication Library for JavaScript (MSAL.js) 2.0 for Browser-Based Single-Page Applications | ||
### Build Library | ||
```javascript | ||
// Change to the root of the msal repo | ||
cd microsoft-authentication-library-for-js/ | ||
// Install npm dependencies and bootstrap packages | ||
See the [`contributing.md`](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/contributing.md) file for more information. | ||
### Linking local package dependencies | ||
If you are having issues with `lerna` and wish to use the local version of the `@azure/msal-common` library (to reflect changes made in both repositories) you can run do the following: | ||
```bash | ||
// Change to the msal-browser package directory | ||
cd lib/msal-browser/ | ||
// Install package dependencies | ||
npm install | ||
// Build library | ||
npm run build | ||
// To run build only for the browser package | ||
npm run build -- --scope @azure/msal-browser | ||
// Change to the msal-common package directory | ||
cd ../msal-common/ | ||
// Install package dependencies | ||
npm install | ||
// Prepare the local msal-common package for linking | ||
npm link | ||
// Change back to the msal-browser package directory | ||
cd ../msal-browser/ | ||
// Link to the local build of msal-common | ||
npm link @azure/msal-common | ||
``` | ||
#### Alternate Build Instructions | ||
If you are having issues with `lerna`, you can try the following: | ||
### Building the package | ||
```javascript | ||
To build the `@azure/msal-browser` library, you can do the following: | ||
```bash | ||
// Change to the msal-browser package directory | ||
cd lib/msal-browser/ | ||
// Ensure you are using the local build of msal-common | ||
npm link @azure/msal-common | ||
// To run build only for browser package | ||
npm run build | ||
// To run build for common and browser package | ||
``` | ||
To build both the `@azure/msal-browser` library and `@azure/msal-common` libraries, you can do the following: | ||
```bash | ||
// Change to the msal-browser package directory | ||
cd lib/msal-browser/ | ||
// To run build only for browser package | ||
npm run build:all | ||
@@ -152,3 +168,3 @@ ``` | ||
```javascript | ||
```bash | ||
// To run tests | ||
@@ -160,5 +176,4 @@ npm test | ||
- If you are having issues with `lerna`, change to the `msal-browser` directory and run the commands directly there. | ||
## Implicit Flow vs Authorization Code Flow with PKCE | ||
## Implicit Flow vs Authorization Code Flow with PKCE | ||
MSAL.js 1.x implemented the [Implicit Grant Flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-implicit-grant-flow), as defined by the OAuth 2.0 protocol and [OpenID](https://docs.microsoft.com/azure/active-directory/develop/v2-protocols-oidc). | ||
@@ -165,0 +180,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3168860
19674
196
Updated@azure/msal-common@^1.6.0