# Forbidden error on embed widget

**URL:** <https://meta.discourse.org/t/forbidden-error-on-embed-widget/288380>\
**Category:** Development\
**Created:** [December 12, 2023, 2:36pm UTC](https://meta.discourse.org/t/forbidden-error-on-embed-widget/288380 "2023-12-12T14:36:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Matheus\_Cavinato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/matheus_cavinato/32/342974_2.png) [@Matheus\_Cavinato](https://meta.discourse.org/u/Matheus_Cavinato)\
**Post date:** [December 14, 2023, 1:53pm UTC](https://meta.discourse.org/t/forbidden-error-on-embed-widget/288380/5 "2023-12-14T13:53:51Z")

</div>

What I’m trying to do is use Discourse as a forum, essentially creating a chat within our logged-in system. We already have an account for the user who sees Discourse on the frontend. How can I log in this user without displaying the Discourse login page? Are there any possibilities?

I’m also attempting to create a proof of concept (POC) using a Discourse hosted service with a free trial. However, the ultimate goal is to self-host Discourse on our domain, utilizing a subdomain for Discourse and another subdomain for the mentioned application.

---

_[View the full topic](https://meta.discourse.org/t/forbidden-error-on-embed-widget/288380)._
