# iAqualink for Pool Equipment

**URL:** <https://discourse.nodered.org/t/iaqualink-for-pool-equipment/29689>\
**Category:** General\
**Created:** [8 July 2020 02:22 UTC](https://discourse.nodered.org/t/iaqualink-for-pool-equipment/29689 "2020-07-08T02:22:35Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [18 July 2020 08:38 UTC](https://discourse.nodered.org/t/iaqualink-for-pool-equipment/29689/6 "2020-07-18T08:38:35Z")

</div>

Thanks for the reminder. After another week from hell I truly forgot. Dug it up in a forum search, here you go.

> [@Valid bearer token](https://discourse.nodered.org/t/valid-bearer-token/28633/2):
>
> I have a flow that consumes the Spotify API that does this, let me sanitise it a bit and upload it for you. This token is valid for 1 hour. There's 2 options you can take: request either way and if it comes back as invalid refresh and store the token again, or keep a timestamp of the last refresh and if it's longer ago than 95% of your token expiration time refresh it just to be safe that it doesn't run out during your request sequence. I have the OAuth callback set up in an http-in/http-respon…

---

_[View the full topic](https://discourse.nodered.org/t/iaqualink-for-pool-equipment/29689)._
