Automatically refresh token in webchat

Thanos Vazakas 1 Reputation point
2022-09-15T17:41:31.973+00:00

I have created a webchat in Azure and embedded the code in a website. I have created a token using the Azure secret code and the chat works fine, but after 60 min the token expires. How can it automatically be updated before it expires, so that the webchat keeps working?
In a microsoft document it it states "Tokens will automatically be renewed before they expire." but they don't!
Any ideas?
Thank you

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
746 questions
{count} votes