Description:
After a file is successfully uploaded via EmbeddedChat, the image attachment preview in the chat message fails to load with a 403 Forbidden error. The file uploads correctly to the server, but the
tag rendering the preview has no authentication headers, so RC's default "Block Unauthenticated Access" setting blocks the request.
Steps to reproduce:
- Log in and navigate to a channel
- Click the attachment button and upload any image file
- Observe the chat message after the upload completes
Expected behavior:
The uploaded image should render as a preview inline in the chat message.
Actual behavior:
The image preview area is blank/broken. The browser console shows:
