# Embed Chat - Redirect if not connected

**URL:** <https://staging-discuss.dev.twitch.com/t/embed-chat-redirect-if-not-connected/6984>\
**Category:** Chat and IRC\
**Created:** [July 28, 2016, 12:04pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-redirect-if-not-connected/6984 "2016-07-28T12:04:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Treast](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@Treast](https://staging-discuss.dev.twitch.com/u/Treast)\
**Post date:** [July 28, 2016, 12:04pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-redirect-if-not-connected/6984/1 "2016-07-28T12:04:22Z")

</div>

Hello,

I’ve searched around, but I can’t find anything, so here I am 🙂

I’m developping a website that uses Twitch API for login.  
A stream channel is shown, with the embed chat by its side and accessible for everyone, even not connected through Twitch.  
What I’m looking for is a way to redirect the user to my sign-in page if the user tries to send a message on the chat, instead of showing the Twitch popup.

Any idea ? The Github page about embed chat is not really instructive [(see it by yourself)](https://github.com/justintv/Twitch-API/blob/master/embed-chat.md)

Thanks !

EDIT : I just saw that IRC is maybe the way

---

<div class="post-metadata">

**Author:** ![DallasNChains](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dallasnchains/32/1608_2.png) [@DallasNChains](https://staging-discuss.dev.twitch.com/u/DallasNChains)\
**Post date:** [July 28, 2016, 6:05pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-redirect-if-not-connected/6984/2 "2016-07-28T18:05:34Z")

</div>

There isn’t a supported way to redirect to a custom login page from the chat embed.

---

<div class="post-metadata">

**Author:** ![Treast](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@Treast](https://staging-discuss.dev.twitch.com/u/Treast)\
**Post date:** [July 28, 2016, 6:14pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-redirect-if-not-connected/6984/3 "2016-07-28T18:14:22Z")

</div>

Ok thanks for the information. I guess I have to build a IRC client by myself then 🙂

---

<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:** [August 27, 2016, 6:14pm UTC](https://staging-discuss.dev.twitch.com/t/embed-chat-redirect-if-not-connected/6984/4 "2016-08-27T18:14:29Z")

</div>

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