librelink icon indicating copy to clipboard operation
librelink copied to clipboard

Adding hashed account ID to requests to fix bad request responses

Open kristofvloock opened this issue 8 months ago • 4 comments

For me, the integration didn't work as the API now requires the hashed account ID to be send with the other request. This PR adds this functionality by obtaining and hashing the account ID from the login request, when the Bearer token is also obtained. I also bumped the version, because with 4.9 the API responds that it doesn't support that version any longer.

kristofvloock avatar Apr 08 '25 18:04 kristofvloock

Need to update the VERSION to 4.16.0

And hopefully we can get a merge

Mnementh avatar Oct 10 '25 05:10 Mnementh

Can this be merged back into Main and a new version released?

awtx-jeffjohnson avatar Oct 10 '25 12:10 awtx-jeffjohnson

The version might need updated, my own testing shows a response saying v 4.16.0 minimum now Error, status code: 403, Text:{"data":{"minimumVersion":"4.16.0"},"status":920}

LingTheBug avatar Oct 16 '25 14:10 LingTheBug

Added PR #59 to update minimum version required

LingTheBug avatar Oct 16 '25 14:10 LingTheBug