I am using an Argon to push data to a service using webhook integrations. I’ve come across an issue with frequent authorization token changing and I need some guidance on which direction to go from here.
The service I’m pushing data to requires a new authorization token every 90 minutes. What I currently do is manually request a new token and edit the webhook in the Particle console.
What I would like to do is keep track of the validity on the device, request a new token and then include bearer token as a header item from the device.
The challenge I see with this is that the token is large than 255 bytes, it’s over 1000. From what I’ve read so far I can’t pass something that large through Particle.publish
Is there another way of going about this?