I'm creating an Alexa Skill to control my Philips Hue lights. Everything works as expected, however the token expires after a couple of weeks and Alexa does not refresh the token. I am assuming this is because the Alexa skill setup only takes one URL which is supposed to be able to be used to both acquire a token and refresh a token, however the Hue API has two separate endpoints:
https://api.meethue.com/oauth2/token
to get a token and https://api.meethue.com/oauth2/refresh
to refresh.
Is there any way to get around this issue in the Alexa setup or with the Hue API?