Fix authentication for new Blink API (OAuth2 - Nov 2025)#38
Conversation
Fixes authentication issues caused by Blink API changes in October 2025. Changes: - Migrated from API v4/v5 to OAuth2 endpoint (api.oauth.blink.com) - Added automatic token refresh mechanism - Added 2FA support via header Tested and working as of November 2025. Resolves the "An app update is required" error.
The homescreen endpoint is now used, providing all required info. The camera/usage endpoint is no longer needed.
|
Solved issue with thumbnails download, replacing the camera/usage endpoint by the homescreen endpoint, which provides the right full path to download the thumbnails. |
|
@tpgal Getting login failed as of today when trying to use are you getting the same error? |
|
By way of an extra datapoint, I too get login failed today, but not yesterday. |
|
I'm sorry hearing that, unfortunately I'm on a business trip and won't be able to test it until the weekend. Hope Amazon hasn't decided to change it once again... |
|
No rush, I'm grateful for anything you can do, and whenever you can do it. Until 2 days ago, mine hadn't been working for a year, so it was a pleasant surprise to have it working at all. Odd that it only worked for a day, but I suppose they changed things again. Just so you know, I did not get locked out from 'overuse', which I recall could be a thing, going back a good while in this project. I only logged in about three times, and only for a maximum of 10 minutes per time. Then, I tried again, a day later to check, after I got the update from @will-k-2 that he could not. |
|
It looks like Amazon has done it again! I have the same issue, and we're not alone: |
Updated the login procedure with the new implemented PKCE authrization code flow.
|
I have updated once again the login procedure of the script, following the same approach as in blinkpy #1149. Kudos to @KiraPC for his great work, and in record time!! |
|
Worked a treat for me. Thanks for your efforts, and also to @KiraPC. |
|
@nayrk The script keeps working, and hopefully Amazon will not change the login procedure for a while. Could you please review this PR, and if it is fine, merge it into the main branch ? |
|
Thanks to all, it ill run very fine. But what ist not clear for me, in my cloud are more than 500 videos, but only 109 are downloaded by the first request... My be the others will be loaded be the next time... |
Problem
The original script stopped working in mid-October 2024 due to Blink API changes.
The error "An app update is required" appeared on all login attempts.
Solution
This PR updates the script to use the new OAuth2 authentication endpoint.
Key Changes:
Testing
Fixes issues reported in October-November 2025 by multiple users.