mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix offline access order
This commit is contained in:
parent
8c89615922
commit
07522a7d8f
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ public class PendingMicrosoftAuthentication {
|
|||
public static final HttpClient AUTH_CLIENT = MinecraftAuth.createHttpClient();
|
||||
public static final BiFunction<Boolean, Integer, StepFullJavaSession> AUTH_FLOW = (offlineAccess, timeoutSec) -> MinecraftAuth.builder()
|
||||
.withClientId(GeyserImpl.OAUTH_CLIENT_ID)
|
||||
.withScope(offlineAccess ? "XboxLive.signin" : "XboxLive.signin XboxLive.offline_access")
|
||||
.withScope(offlineAccess ? "XboxLive.signin XboxLive.offline_access" : "XboxLive.signin")
|
||||
.withTimeout(timeoutSec)
|
||||
.deviceCode()
|
||||
.withoutDeviceToken()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue