[GH-ISSUE #2856] Horizon Microsoft sign-in error #718

Closed
opened 2026-11-02 15:41:23 +07:00 by bsakaguchi · 8 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2856

What I did: sign in with microsoft
What happened: Attribute 'password encoded as UTF-16' is longer than platform limit of 2560 chars
What I expected: it to sign in
Horizon version: launcher 0.2.16
OS: Windows 11 Home 23h2
CPU: AMD 9950x3d
GPU: RTX 5090

Reported on Discord by Trixualz in #horizon-bugs · Discord thread
Tags: install / launch

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2856 > What I did: sign in with microsoft > What happened: Attribute 'password encoded as UTF-16' is longer than platform limit of 2560 chars > What I expected: it to sign in > Horizon version: launcher 0.2.16 > OS: Windows 11 Home 23h2 > CPU: AMD 9950x3d > GPU: RTX 5090 Reported on Discord by **Trixualz** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564657641177747486) Tags: install / launch **Attachments** (Discord links expire after a while; the thread keeps them) - [image.png](https://cdn.discordapp.com/attachments/1564657641177747486/1564657641421144225/image.png?ex=6ae2107b&is=6ae0befb&hm=e074c0db6419fbfa664a3a5acd137ecbf9eaa5474a0df2b924451f1b0ca4f645&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:41:23 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 27, 2026):

Trixualz added on Discord:

(no text)

most cursed setup you will see (a member)

<!-- gh-comment-id:6445849334 --> @ludovic111 commented on GitHub (Oct 27, 2026): **Trixualz** added on Discord: > (no text) - [rn_image_picker_lib_temp_8c981380-f081-49f5-923f-eeaa1525d293.jpg](https://cdn.discordapp.com/attachments/1564657641177747486/1564659095896727562/rn_image_picker_lib_temp_8c981380-f081-49f5-923f-eeaa1525d293.jpg?ex=6ae211d6&is=6ae0c056&hm=c131abbcefebb8cb4c92b96ee3656f7a710b8793b6e7443759813020916448cb&) > most cursed setup you will see (a member) <!-- kira -->
Author
Owner

@ludovic111 commented on GitHub (Oct 27, 2026):

Trixualz added on Discord:

custom loop

with radiator bigger than car radiator

to be honest its just normal custom loop but with big radiator
and no pc case

<!-- gh-comment-id:6446086819 --> @ludovic111 commented on GitHub (Oct 27, 2026): **Trixualz** added on Discord: > custom loop > with radiator bigger than car radiator > to be honest its just normal custom loop but with big radiator > and no pc case <!-- kira -->
Author
Owner

@kacpherek commented on GitHub (Oct 27, 2026):

The cause is found and a fix is up in #2879: Windows Credential Manager takes at most 2560 bytes per saved item, and the Microsoft sign-in tokens are longer, so saving them failed with "password encoded as UTF-16 is longer than platform limit". The fix saves them in several smaller pieces. It's waiting for review and merge. Until then you can play offline from the account menu.

<!-- gh-comment-id:6450281255 --> @kacpherek commented on GitHub (Oct 27, 2026): The cause is found and a fix is up in #2879: Windows Credential Manager takes at most 2560 bytes per saved item, and the Microsoft sign-in tokens are longer, so saving them failed with "password encoded as UTF-16 is longer than platform limit". The fix saves them in several smaller pieces. It's waiting for review and merge. Until then you can play offline from the account menu.
Author
Owner

@lynrayy commented on GitHub (Oct 27, 2026):

ImageSame

<!-- gh-comment-id:6451194901 --> @lynrayy commented on GitHub (Oct 27, 2026): <img width="1370" height="126" alt="Image" src="https://github.com/user-attachments/assets/c2b8b240-382b-4b08-9a98-79140e96a59b" />Same
Author
Owner

@lynrayy commented on GitHub (Oct 27, 2026):

5. Until then you can play offline from the account menu.

I can't

It is not detecting prism launcher minecraft properly, it is not detecting jar in folder path

<!-- gh-comment-id:6451218020 --> @lynrayy commented on GitHub (Oct 27, 2026): > 5\. Until then you can play offline from the account menu. I can't It is not detecting prism launcher minecraft properly, it is not detecting jar in folder path
Author
Owner

@lynrayy commented on GitHub (Oct 27, 2026):

Image
<!-- gh-comment-id:6451243493 --> @lynrayy commented on GitHub (Oct 27, 2026): <img width="1210" height="758" alt="Image" src="https://github.com/user-attachments/assets/03fe6909-d51b-4103-baff-41b4b737f853" />
Author
Owner

@rdbtCVS commented on GitHub (Oct 27, 2026):

This has been fixed in the latest launcher release 0.2.17

<!-- gh-comment-id:6453419820 --> @rdbtCVS commented on GitHub (Oct 27, 2026): This has been fixed in the latest launcher release 0.2.17
Author
Owner

@ludovic111 commented on GitHub (Oct 28, 2026):

Trixualz added on Discord:

thanks beautiful

<!-- gh-comment-id:6470817630 --> @ludovic111 commented on GitHub (Oct 28, 2026): **Trixualz** added on Discord: > thanks beautiful <!-- kira -->
Sign in to join this conversation.
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
horizon-rust/horizon#718
No description provided.