Is it possible to autologin discourse via iframe?

If you want automatic login, you can implement DiscourseConnect - Official Single-Sign-On for Discourse (sso) and enable the site setting login required.

That said, running the whole Discourse inside an iframe is not a support use case, and will be a bad experience.

We do support some specialized iframes, for both Embedding Discourse Comments via Javascript and Embedding a list of Discourse Topics in another site.

2 Likes