The "setBotAuthTokenProvider" script is added on lcw:ready.
The event is firing for "setBotAuthTokenProvider" but the code implemented to authenticate is not executing and we have to authenticate manually be clicking on Login card in the chat widget.
{
"error": {
"code": "ServiceError",
"message": "Bot af9c07da-e9dd-d4e2-9cc5-df9f878a4746 does not exist"
}
}
In very rare random cases, SSO works and the bot gets authenticated automatically and the only difference is the above request is successful in this case.
I am not sure why the request fails almost all of the time but works randomly but very rarely.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.