Sign-in Problems

The Microsoft window fails, says you do not own the game, or you keep getting signed out.

Account
What happensWhat to do
It says you do not own MinecraftSign in with the Microsoft account that bought Java Edition. Bedrock, or a different Microsoft account, will not work.
Game Pass account failsOpen the official Minecraft Launcher once and launch Java Edition, so your Minecraft profile and username exist. Then try Sour Client again.
The window opens and closes, or never loadsCheck your internet, then close the launcher fully (including from the system tray) and open it again. A VPN or strict firewall can block Microsoft's sign-in pages.
Signed out every time you open itSign out from the account menu, then sign in again. If it keeps happening, open a ticket.
Your session ran outMicrosoft tokens expire. Sign in again from the account menu; your settings are kept.
Sour Client never sees your password: you sign in on Microsoft's own page and the launcher only receives the token Microsoft sends back.