axieum / authme

:lock: Authenticate yourself in Minecraft and re-validate your session
https://www.curseforge.com/minecraft/mc-mods/auth-me
MIT License
92 stars 34 forks source link

Fix 'Chat disabled due to missing profile public key' error #91

Closed Enjoys-1 closed 1 year ago

Enjoys-1 commented 1 year ago

This was caused by the session object's type being AccountType.MOJANG instead of AccountType.MSA. Because of this, the profile public key failed to generate.

axieum commented 1 year ago

Thank you for this. I'll give it a test with my account soon to check if it's account-specific.

Otherwise, it looks good to merge! 👌

alext commented 1 year ago

I've been hitting the same issue, and testing with this patch seems to have resolved it for me.