I have an open channel in my Rocketchat which I want to show on my website using the embedded layout.
I have ‘Allow Anonymous Read’ set to true, so that anybody should be able to read this channel, but it doesn’t show anything.
Steps to reproduce:
- Go to https://chat.basswise.com/channel/live or https://chat.basswise.com/channel/live?layout=embedded
- This only seems to works if you’re logged in.
When logged out or in a private browser, I should be able to view the channel room but not post.
Going to the channel with ‘channel/?layout=embedded’ also doesn’t work.
I can’t access the channel at all when logged out. It shows me a dark background with a loading animation.
I can’t access the channel without ‘?layout=embedded’ when logged out as an anonymous user.
I’ve tried this on several different connections, different browsers and Operation Systems to no avail.
Server Setup Information:
- Version of Rocket.Chat Server: 1.3.2
- Operating System: Ubuntu 18.04
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog: unsure?
- NodeJS Version: v8.11.4
- MongoDB Version: 3.4.20
I installed using the Snap Rocket.chat guide as well as installed SSL using Snap.
My main aim is to have 1 public channel which users can view without being logged in.
This is what is shown when going to the url:
I can access the main page without being logged in, then click the channel, but as I want to embed and link to a single channel, this isn’t ideal