From 1ab74d845b52cdc9d77287300fd1de8cedb7ccdc Mon Sep 17 00:00:00 2001 From: Mqrco0Wurstelli <138258607+Mqrco0Wurstelli@users.noreply.github.com> Date: Fri, 29 Mar 2024 18:26:56 +0100 Subject: [PATCH] authserver.mojang.com is now sessionserver.mojang.com --- src/client/mojangAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/mojangAuth.js b/src/client/mojangAuth.js index ea1a6d844..dccd63250 100644 --- a/src/client/mojangAuth.js +++ b/src/client/mojangAuth.js @@ -17,7 +17,7 @@ module.exports = async function (client, options) { options.profilesFolder = mcFolderExists ? mcDefaultFolderPath : '.' // local folder if mc folder doesn't exist } - const yggdrasilClient = yggdrasil({ agent: options.agent, host: options.authServer || 'https://authserver.mojang.com' }) + const yggdrasilClient = yggdrasil({ agent: options.agent, host: options.authServer || 'https://sessionserver.mojang.com' }) const clientToken = options.clientToken || (options.session && options.session.clientToken) || (options.profilesFolder && (await getLauncherProfiles()).mojangClientToken) || UUID.v4().toString().replace(/-/g, '') const skipValidation = false || options.skipValidation options.accessToken = null