Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit 4ca8523

Browse files
authored
Update microsoftAuth to set default flow option (PrismarineJS#1041)
* Update microsoftAuth to set default flow option Explicitly specify to login through live.com * Update package.json
1 parent cbf663a commit 4ca8523

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"minecraft-folder-path": "^1.2.0",
5656
"node-fetch": "^2.6.1",
5757
"node-rsa": "^0.4.2",
58-
"prismarine-auth": "^1.7.0",
58+
"prismarine-auth": "^2.0.0",
5959
"prismarine-nbt": "^2.0.0",
6060
"protodef": "^1.8.0",
6161
"readable-stream": "^4.1.0",

src/client/microsoftAuth.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ async function authenticate (client, options) {
1111
if (options.authTitle === undefined) {
1212
options.authTitle = Titles.MinecraftNintendoSwitch
1313
options.deviceType = 'Nintendo'
14+
options.flow = 'live'
1415
}
1516

1617
const Authflow = new PrismarineAuth(options.username, options.profilesFolder, options, options.onMsaCode)

0 commit comments

Comments
 (0)