# How to fix never-ending "Waiting for login from separate window..." message?

**URL:** <https://discuss.dev.twitch.com/t/how-to-fix-never-ending-waiting-for-login-from-separate-window-message/24945>\
**Category:** Chat and IRC\
**Created:** [April 12, 2020, 10:52pm UTC](https://discuss.dev.twitch.com/t/how-to-fix-never-ending-waiting-for-login-from-separate-window-message/24945 "2020-04-12T22:52:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![samdealy](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/samdealy/32/8315_2.png) [@samdealy](https://discuss.dev.twitch.com/u/samdealy)\
**Post date:** [April 12, 2020, 10:52pm UTC](https://discuss.dev.twitch.com/t/how-to-fix-never-ending-waiting-for-login-from-separate-window-message/24945/1 "2020-04-12T22:52:52Z")

</div>

2020-04-12T07:00:00Z

I’m trying to embed the chat from the “8ball\_TV” channel in the 8balltv.club site. To test this feature, I’m developing locally on localhost. Here is the iframe i’m using:

```
<iframe
   id="8ball_tv" 
   src="https://www.twitch.tv/embed/8ball_tv/chat?parent=8balltv.club" 
   frameborder="0" 
   scrolling="yes" 
   height="500" 
   width="350">
</iframe>

```

Steps to reproduce:

1. In the iframe’s chat message box, write a message.
2. Click “Chat”.
3. Observe dialog that reads “Login will open in a separate window”, and click “Log in” button.
4. Observe a newly opened browser window that is pointing to “[https://www.twitch.tv/?no-reload=true](https://www.twitch.tv/?no-reload=true)”
5. Log in to twitch account OR see that you’re already logged in.
6. Navigate back to the browser window pointing to my site.

Expected Results: Chat box should now function after a successful login message  
Observed Results: A dialog with text that reads “Waiting for login from separate window…” and a spinner. This dialog never goes away.

---

<div class="post-metadata">

**Author:** ![amelia](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@amelia](https://discuss.dev.twitch.com/u/amelia)\
**Post date:** [April 29, 2020, 11:11am UTC](https://discuss.dev.twitch.com/t/how-to-fix-never-ending-waiting-for-login-from-separate-window-message/24945/2 "2020-04-29T11:11:52Z")

</div>

Hi samdealy . I am also trying to embed the chat from booking\_advisor to **REMOVED**. I am experimenting on local host . The same step I am following that you have mentioned above.  
Step to Reproduce  
In this section at step 4 how can I find that is pointing to “[https://www.twitch](https://www.twitch).[tv](https://lilylisto.com/)/?no-reload=true”  
actually I am stuck here and searching their solution. Kindly Could you plz guide me to sort out this step.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [April 29, 2020, 11:14am UTC](https://discuss.dev.twitch.com/t/how-to-fix-never-ending-waiting-for-login-from-separate-window-message/24945/3 "2020-04-29T11:14:06Z")

</div>

Try using the “Embed Everything”

> **[Everything](https://dev.twitch.tv/docs/embed/everything/)**
>
> Embedding Everything

You should get better mileage than using the “dumb” iframe solution

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [April 29, 2020, 11:20am UTC](https://discuss.dev.twitch.com/t/how-to-fix-never-ending-waiting-for-login-from-separate-window-message/24945/4 "2020-04-29T11:20:00Z")

</div>

> [@samdealy](#):
>
> To test this feature, I’m developing locally on localhost.

Your parent needs to be localhost, not 8balltv since your domain is localhost when on localhost

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [May 29, 2020, 11:20am UTC](https://discuss.dev.twitch.com/t/how-to-fix-never-ending-waiting-for-login-from-separate-window-message/24945/5 "2020-05-29T11:20:02Z")

</div>

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