I have developed azure bot application, I am using direct line token based approach to initiate azure chatbot from my web application. According to documentation token is valid for one hour and it expires automatically after one hour. The token can be refreshed before it expires. There are two questions.
We have observed that chat is going on even after one hour it continues in normal without any impact. So what does 1 hour expiry means? Is there any need to refresh the token for ongoing conversation?
Can the same access token be reused by any other client?
Best Regards
Thanks Bill for your detailed response. It works fine also. In our case we are using window.WebChat.renderWebChat. You can pass your token in your call. Internally it refreshes the token every 15 minutes. Please refer the GitHub documentation for the same. The token gets refreshed every 15 minutes, so there is no expiry of token possible if chat extends beyond 15 minutes. This refresh of token has not been mentioned in the document.