Skip to content

[FEATURE REQUEST] Kickscreen Authentication #291

@Outfit8TSB

Description

@Outfit8TSB

in case for the public viaproxy instance servers(Like My ViaProxy Instance) and bedrock clients and 1.19.4+ users, bedrock and 1.19.4+ cannot use OpenAuthMod Because:
Forge/Fabric Cannot work on Bedrock Edition because it was designed for Java Edition.
OpenAuthMod was Discontinued before release of 1.19.4-1.21.1.

this will cause a problem which they only can join cracked servers using this instance.

this is the example, that is what happened when i connected to 2b2t with my public instance(2b2t.org_25565_1.21.viaproxy.144.76.8.18.nip.io:53587).
image
This is the Example, that is what happened when i connected to 2b2t replica made by Infinite Games Using My Public Instance(play.2b2t.be_19132_Bedrock-1.21.2.viaproxy.144.76.8.18.nip.io:53587).
image

so why not just authenticate with Kick Screen?
if you join auth.viaproxy.hostname:

image

[Note: Replace the [CENSORED] And [CENSORED2] with the real authentication code if the player got kicked after joining]
so if they enter the code from the kickscreen in aka.ms/remoteconnect,

[17:08:28] [Add Account Thread/INFO] (MinecraftAuth) Got MSA Token, expires: 2024-09-14T17:08:28.438+09:00[Asia/Seoul]
[17:08:28] [Add Account Thread/INFO] (MinecraftAuth) Authenticating device with Xbox Live...
[17:08:29] [Add Account Thread/INFO] (MinecraftAuth) Got XBL Device Token, expires: 2024-09-27T17:08:29.606+09:00[Asia/Seoul]
[17:08:29] [Add Account Thread/INFO] (MinecraftAuth) Authenticating with Xbox Live using SISU...
[17:08:30] [Add Account Thread/INFO] (MinecraftAuth) Got XBL User+Title+XSTS Token, expires: 2024-09-13T21:08:30.908+09:00[Asia/Seoul]
[17:08:30] [Add Account Thread/INFO] (MinecraftAuth) Authenticating with Minecraft Services...
[17:13:51] [ForkJoinPool.commonPool-worker-1/INFO] (MinecraftAuth) Got MC Chain, name: CensingSmile123, uuid: 4596a909-af45-3cd8-9d93-e12ed926a56d, xuid: 2535418561148595
[17:13:51] [ForkJoinPool.commonPool-worker-1/INFO] (MinecraftAuth) Requesting XSTS Token...
[17:13:51] [ForkJoinPool.commonPool-worker-1/INFO] (MinecraftAuth) Got XSTS Token, expires: 2024-09-14T09:13:52.275+09:00[Asia/Seoul]
[17:13:51] [ForkJoinPool.commonPool-worker-1/INFO] (MinecraftAuth) Authenticating with PlayFab...
[17:13:53] [ForkJoinPool.commonPool-worker-1/INFO] (MinecraftAuth) Got PlayFab Token, expires: 2024-09-14T17:13:52+09:00[Asia/Seoul]
[17:13:53] [ForkJoinPool.commonPool-worker-1/INFO] (MinecraftAuth) Requesting XSTS Token...
[17:13:53] [ForkJoinPool.commonPool-worker-1/INFO] (MinecraftAuth) Got XSTS Token, expires: 2024-09-14T09:13:54.438+09:00[Asia/Seoul]
[17:14:01] [main/INFO] (ViaProxy) Authentication Complete. Player CensingSmile123 can now join online mode server now.
[17:14:05] [nioEventLoopGroup-5-4/INFO] (Geyser) 플레이어가 사용자명 CensingSmile123(으)로 연결했습니 다.
[17:14:08] [tcpClientSession-7-4/INFO] (Geyser) CensingSmile123 [CensingSmile123로 로그인](이)가 Java 서버 192.168.219.100에 접속했습니다
[17:14:19] [Netty NIO Server Child IO #11/INFO] (ViaProxy) [CONNECT] (*.*.*.*:58309 | null) [1.21-1.21.1 <-> Bedrock 1.21.2] Connecting to serverby.me:19132
[17:14:21] [Netty NIO Server Child IO #8/INFO] (ViaProxy) [AUTH] (*.*.*.*:58309 | CensingSmile123) Filling player data
[17:14:30] [Netty NIO Server Child IO #8/INFO] (MinecraftAuth) Authenticating with Minecraft Services...
[17:14:31] [Netty NIO Server Child IO #8/INFO] (MinecraftAuth) Got MC Chain, name: CensingSmile123, uuid: 4596a909-af45-3cd8-9d93-e12ed926a56d, xuid: 2535418561148595
[17:14:35] [Netty NIO Client IO #0/INFO] (ViaProxy) [SESSION] (*.*.*.*:58309 | CensingSmile123) Connected successfully! Switching to CONFIGURATION state

i think this is best and useful method i can think in case server is hosting public ViaProxy and the players use Bedrock Edition Only or They Use Java but 1.19.4+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions