From a51a660f16abcd50830f08059128a8030cc7903e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 27 Aug 2023 09:01:31 -0400 Subject: [PATCH] Bump @azure/msal-node from 1.18.1 to 2.0.2 (#72) * Bump @azure/msal-node from 1.18.1 to 2.0.2 Bumps [@azure/msal-node](https://github.com/AzureAD/microsoft-authentication-library-for-js) from 1.18.1 to 2.0.2. - [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-js/releases) - [Commits](https://github.com/AzureAD/microsoft-authentication-library-for-js/compare/msal-node-v1.18.1...msal-node-v2.0.2) --- updated-dependencies: - dependency-name: "@azure/msal-node" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * add preconfigured msal example --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: extremeheat --- examples/xbox/simpleMsal.js | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 examples/xbox/simpleMsal.js diff --git a/examples/xbox/simpleMsal.js b/examples/xbox/simpleMsal.js new file mode 100644 index 0000000..57751c2 --- /dev/null +++ b/examples/xbox/simpleMsal.js @@ -0,0 +1,8 @@ +const { Authflow } = require('prismarine-auth') + +const doAuth = () => { + const flow = new Authflow('test', './', { flow: 'msal' }) + flow.getXboxToken().then(console.log) +} + +doAuth() diff --git a/package.json b/package.json index ea49132..bf8f163 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "prismarine-auth": "file:." }, "dependencies": { - "@azure/msal-node": "^1.1.0", + "@azure/msal-node": "^2.0.2", "@xboxreplay/xboxlive-auth": "^3.3.3", "debug": "^4.3.3", "jose": "^4.1.4",