Announcements
I'm integrating the Microsoft Omnichannel Live Chat Widget in a React Native WebView. The chat starts successfully with an authentication token, but after minimizing and reloading, the chat fails to restart and throws authentication errors.
"Failed to find auth function on the web page"
"Auth token provider method execution failed"
"Auth token provider didn't provide any token"
"Chat found in cache but invalid as the conversation status is inactive."
"Authentication failed: Unexpected error while getting token"
exp
) and scopes.setAuthTokenProvider()
is called properly.How can I ensure the chat restarts properly after minimizing/reloading? Do I need to refresh the token dynamically, or is there a chat widget setting that handles this?
We are using the D365 Omni-Channel Customer Support Chat Web Widget for our client, and during testing, we encountered an issue with the authenticated chat widget.
When a user starts an authenticated chat session, the conversation begins normally.
However, if the page is refreshed, the chat session is lost.
When reopening the chat, a new session starts instead of resuming the previous session.
The chat session should persist even after a page reload, allowing users to continue their previous conversation rather than starting a new session.
André Arnaud de Cal...
293,325
Super User 2025 Season 1
Martin Dráb
232,223
Most Valuable Professional
nmaenpaa
101,158
Moderator