Skip to content

fix(login): use compact protocol on /api/v4p/rs - #264

Open
Kuro-Rui wants to merge 2 commits into
evex-dev:mainfrom
Kuro-Rui:fix/android-login-protocol
Open

Kuro-Rui wants to merge 2 commits into
evex-dev:mainfrom
Kuro-Rui:fix/android-login-protocol

Conversation

@Kuro-Rui

@Kuro-Rui Kuro-Rui commented Nov 6, 2026

Copy link
Copy Markdown

Description

This PR fixes password login on ANDROID and ANDROIDSECONDARY. #192 moved the registration auth calls to /api/v4p/rs, but loginV2 and confirmE2EELogin still send binary thrift, which the gateway rejects with x-lc: 400 and an empty body. The protocol is now picked alongside the endpoint: compact on /api/v4p/rs, binary on /api/v3p/rs.

Tested with new unit tests and a live password login on ANDROIDSECONDARY, using version 3.6.4 with the same protocol rule, which completed through the PIN step.

Checklist

  • Run tests (optional)
  • Add jsdoc (optional)
  • Test in your environment (optional)

If you feel good :), please do the contents of the checklist.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant