Sorry for bumping an old discussion, but I was coming to report a bug. Essentially, Onebox does not work at all for internal links if Discourse is configured as a private forum.
I assumed that Onebox would be querying the server with the same authentication as the rest of the Discourse client, but this is not the case. Is this a deliberate design decision? Why can’t Onebox use the same authentication as the rest of Discourse?
At the moment, if you paste a link to an internal Discourse post, say
Onebox will link to it fine, but the text for the link will just be
meta.discourse.org, which is no information at all for the user.
The linked topics off to the right at least show the name of the topic linked, Onebox doesn’t give any information. There must be a more graceful way of failing than just displaying the domain name from the link.