aitoiaita / linux-jagex-launcher

A native Linux Jagex account launcher for Oldschool Runescape
12 stars 5 forks source link

Launcher does not work if character name is not set yet #6

Closed Nubebuster closed 3 weeks ago

Nubebuster commented 4 weeks ago

After #5 the flow ends up at http://localhost/#code=<>&id_token=<>&state=<> and I am having trouble figuring out what is supposed to happen next due to the scattered logic that this login process has.

Using network inspection (which I've been able to open by setting persistent logs and swiftly pressing f12 on tab open) there seems to be an error at /JWS "Game session client error - HTTP error: error decoding response body: missing field displayName at line 1 column 59"

We get to this point after jagex sends a 303 (redirect with header) to http://localhost#code=<>&id_token=<>&state=<>

Nubebuster commented 4 weeks ago

I've managed to capture the actual response from /jws

{"ErrorStr":"Game session client error - HTTP error: error decoding response body: missing field displayName at line 1 column 59"}