[Client] Authorization token cache matches exact server's address without resolving it to IP:PORT #1

Open
opened 2025-12-11 12:26:16 +01:00 by hloth · 0 comments
Owner

Due to limitations with Minecraft's ServerInfo class, currently authorization tokens are tied exactly to the server's address the player joins typed in the client. So 1.2.3.4 !== 1.2.3.4:25565, play.example.org !== 100.123.123.123, play.example.org:25565 !== play.example.org and so on.

Due to limitations with Minecraft's ServerInfo class, currently authorization tokens are tied exactly to the server's address the player joins typed in the client. So `1.2.3.4` !== `1.2.3.4:25565`, `play.example.org` !== `100.123.123.123`, `play.example.org:25565` !== `play.example.org` and so on. https://git.hloth.dev/demovio/easy-auth-local-sessions/src/commit/a61e79210bb129a09b3087e7489833bda7b6e414/src/client/java/lol/demovio/easyauthlocalsessions/EasyAuthLocalSessionsClientNetwork.java#L28
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: demovio/easy-auth-local-sessions#1
No description provided.