Fix LibreLinkUp API for October 2025 authentication changes - #53
Open
rollinsio wants to merge 1 commit into
Open
Fix LibreLinkUp API for October 2025 authentication changes#53rollinsio wants to merge 1 commit into
rollinsio wants to merge 1 commit into
Conversation
rollinsio
marked this pull request as draft
October 22, 2025 02:33
Abbott updated the LibreLinkUp API in October 2025 with new requirements: - New mandatory Account-Id header (SHA-256 hash of user.id) - Updated version requirement to 4.16.0 - Product changed from llu.ios to llu.android Without these changes, all LibreLinkUp connections fail with 403 Forbidden. Changes: - Add crypto require for SHA-256 hashing - Update Defaults.Version from 4.7.0 to 4.16.0 - Update Defaults.Product from llu.ios to llu.android - Add Account-Id header to sessionFromAuth() - Add Account-Id header to dataFromSesssion() - Store userId in session for header generation Fixes authorization errors when connecting to LibreView API. Tested with US region LibreLinkUp accounts.
rollinsio
force-pushed
the
fix/librelinkup-october-2025-api
branch
from
October 22, 2025 02:49
d29a871 to
0029bd7
Compare
rollinsio
marked this pull request as ready for review
October 22, 2025 02:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes LibreLinkUp connection failures caused by Abbott's API changes in October 2025.
Problem
Starting in October 2025, Abbott updated the LibreLinkUp API with new authentication requirements:
Account-Idheader (SHA-256 hash of user.id)llu.iostollu.androidWithout these changes, all LibreLinkUp connections fail with 403 Forbidden errors during the authorization step.
Changes
Updated API version and product identifier
Defaults.Version:4.7.0→4.16.0Defaults.Product:llu.ios→llu.androidAdded Account-Id header support
cryptorequire for SHA-256 hashingsessionFromAuth()to:user.idfrom auth responseAccount-IdAccount-Idheader in/llu/connectionsrequestuserIdin session for later usedataFromSesssion()to:Account-Idfrom storedsession.userIdAccount-Idheader in graph data requestsTesting
Tested with:
References
This fix enables LibreLinkUp integration to work with the current Abbott API requirements.