Commit 0029bd7
committed
Fix LibreLinkUp API for October 2025 changes
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.1 parent 1e63c53 commit 0029bd7
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | | - | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| |||
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| 117 | + | |
112 | 118 | | |
113 | | - | |
| 119 | + | |
| 120 | + | |
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
| |||
121 | 128 | | |
122 | 129 | | |
123 | 130 | | |
124 | | - | |
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
| |||
0 commit comments