"Error connecting to Cosmetica servers - We couldn't authenticate your account!" when using Curseforge Launcher
bvnniz opened this issue · 4 comments
okay, well.... turns out it was a specific "lore" option that would give that error... but nothing else would? weird
I can replicate the issue.
The API requires lore strings to be URL encoded and then base64 encoded. The website does this, but the mod just base64 encodes without URL encoding first.
Website:
(✿´-ω-`) -> (%E2%9C%BF%C2%B4-%CF%89-%60) -> KCVFMiU5QyVCRiVDMiVCNC0lQ0YlODktJTYwKQ==
Mod:
(✿´-ω-`) -> KOKcv8K0Lc+JLWAp
The API requires URL encoding to maximise compatibility (we encountered issues on some browsers without URL encoding), so we'll make this change through the mod, not the API.
Should be fixed in the next update (1.2.2). Until then, set your lore via the website. The rest of the in-game customization should work fine.