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=<>
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=<>