The way it works in Minesine is using the Microsoft authentication built into PrismarineJS (node minecraft-protocol)
(#general from "Sineware")