Opening chat ends with a white screen

Clicking on the New Chat button results in a white screen. The problem occurs in master and 2023.1.

The problem is connceted with issue:

It was assumed that all WebScreen instances will only call internalApi endpoints and will require authentication. That is not the case. Chat is not an internalAPI and it is not authenticated. That should probably be another issue

In the case when the token authentication is required is the data for the iframe is requested with an axios call and then set to the src attribute of the iframe. This breaks all relative paths in the iframe because the browser does not prefix them with the correct origin when trying to retrieve the data.

The solution was to set the src attribute directly as it was done originally. This leaves the Chat without authentication.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.