Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CarePartner app authentication #45

Merged
merged 1 commit into from
Mar 3, 2024
Merged

CarePartner app authentication #45

merged 1 commit into from
Mar 3, 2024

Conversation

benceszasz
Copy link
Owner

@benceszasz benceszasz commented Mar 3, 2024

CarePartner app authentication is valid for 1 week, thus even if xdrip is unable to connect to CareLink for a few days (for example due to the lack of internet connection), it will be able to renew the login (refresh the token) automatically in the background after it can connect to CareLink again without needing to login again manually using the browser. The user account restriction applies to this authentication process as well: a different dedicated follower account must be used in every app, otherwise the previous auth token will be revoked.

Credits
CarePartner app authentication process is based on the impressive work of @palmarci in extracting the entire authentication process of the mobile app.

Limitations
When the same account is logged in from another xdrip or official mobile application the previous login will be closed (authetication token is revoked). A different dedicated follower account must be used in every official and xdrip app, otherwise the previous auth token will be revoked.

@benceszasz benceszasz merged commit 58de522 into master Mar 3, 2024
2 checks passed
@808IUFan
Copy link

808IUFan commented Nov 21, 2024

Carelink follower is not working for me since Friday November 15th, 2024. I also can not log in via Chrome on the Carelink sight on my phone but their app works fine. Browser on my computer is fine. This is the same as before when their app was down but they do not have any issues this time.
Screenshot_20241115-165019

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.

2 participants