# Embed Chat authentication error

**URL:** <https://staging-discuss.dev.twitch.com/t/embed-chat-authentication-error/45282>\
**Category:** API\
**Created:** [April 21, 2023, 10:34pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-authentication-error/45282 "2023-04-21T22:34:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeitlan](https://avatars.discourse-cdn.com/v4/letter/z/edb3f5/32.png) [@zeitlan](https://staging-discuss.dev.twitch.com/u/zeitlan)\
**Post date:** [April 21, 2023, 10:34pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-authentication-error/45282/1 "2023-04-21T22:34:23Z")

</div>

Hey there, I wanted to integrate a twitch chat to my website but it seems that there is a problem with the authentication.

I’m logged in to Twitch, and when I try to send a message from my website the chat iframe ask me to log in:

 ![image](https://d2spem0quai2ol.cloudfront.net/original/3X/a/4/a480366d79f8dae87b8490cd93fb8148b95646a0.png)  
It opens another window/tab and close it immediatly.

No problem here, but once I’ve done this, I cannot send any message, the same message appear.

I tried with this [NPM package](https://github.com/moonstar-x/react-twitch-embed), and with the basic iframe method presented [here](https://dev.twitch.tv/docs/embed/chat/) in the documentation, but I have the exact same behavior.

Any idea what could cause this problem?  
Thanks!

**EDIT: Here’s what my iframe looks like (of course I the [MY WEBSITE URL] is my website url):**

```auto
<iframe title="Test" height="100%" width="100%" src="https://www.twitch.tv/embed/kaldeor/chat?darkpopout&amp;parent=[MY WEBSITE URL]" frameborder="0" theme="dark"></iframe>

```

---

<div class="post-metadata">

**Author:** ![zeitlan](https://avatars.discourse-cdn.com/v4/letter/z/edb3f5/32.png) [@zeitlan](https://staging-discuss.dev.twitch.com/u/zeitlan)\
**Post date:** [April 24, 2023, 6:39pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-authentication-error/45282/2 "2023-04-24T18:39:18Z")

</div>

It was due to the DuckDuckGo Privacy Essentials Google Chrome extension 😭

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [May 24, 2023, 6:40pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-authentication-error/45282/3 "2023-05-24T18:40:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
