We have developed 2 skills, one Smart Home skill and one Custom skill. Both skills require a/c linking and used the same authorisation server URI. Everything works fine when we link a/c for both of them but when it refresh the access token after expiry period, one of the skill randomly gives a/c linking error.
We are not sure how the access token and refresh token is managed internally. But what seems to be happening here is - whichever skills refresh the access token first, continue to work fine and other one might be trying to refresh access token using the same old refresh token which was already used once?
Can anyone please clarify if
- Can we use same authorisation server URI to perform a/c linking for more than one skill?
- If yes then are we missing out something due to which we are seeing the above issue?