There was an error while loading. Please reload this page.
1 parent 1b38211 commit c94bedeCopy full SHA for c94bede
1 file changed
src/handshake/login.js
@@ -21,7 +21,7 @@ module.exports = (client, server, options) => {
21
xid: String(client.profile.xuid || '0'),
22
xname: client.username,
23
identity: client.profile.uuid
24
- }, privateKey, { algorithm, notBefore: 0, issuer: 'self', expiresIn: 60 * 60, header: { x5u: client.clientX509, typ: undefined } })
+ }, privateKey, { algorithm, notBefore: 0, issuer: 'self', expiresIn: 60 * 60, audience: 'api://auth-minecraft-services/multiplayer', header: { x5u: client.clientX509, typ: undefined } })
25
} else {
26
const payload = {
27
extraData: {
0 commit comments