MattTW / BlinkMonitorProtocol

Unofficial documentation for the Blink Wire-Free HD Home Monitoring & Alert System
412 stars 77 forks source link

The auth token expires after 24 hours #58

Closed juliendogny closed 3 years ago

juliendogny commented 3 years ago

Hello, Thanks for the explanation to use the Blink API. I've got an issue to make it work with SmartThings as I am creating a smartapp.

Login process works fine and I then verify my pin. After 24 hours, the auth key is not valid anymore. I have to login again and verify the PIN again even with the reauth parameter set to false.

How could I get a long lived auth key and reauth without the PIN ?

juliendogny commented 3 years ago

Correct use of reauth made it work no reauth parameter on first login reauth: true and token-auth for the subsquent login calls