# Embedding with logins. Iframe too small?

**URL:** <https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327>\
**Category:** Support\
**Created:** [February 13, 2017, 7:33pm UTC](https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327 "2017-02-13T19:33:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael321](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Michael321](https://meta.discourse.org/u/Michael321)\
**Post date:** [February 13, 2017, 7:33pm UTC](https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327/1 "2017-02-13T19:33:55Z")

</div>

I’m having an issue with embedded comments.

The iframe embeds ok and connects to the discourse site.  
Discourse forward to my app for login, but the iframe is too small to show the login form.

Is this something I need to fix with CSS? Does the discourse iframe resize itself?

Just curious if there is something I missed. Thanks!

[https://bigsmall.io/articles/action-brands-are-important-urgent-credible/](https://bigsmall.io/articles/action-brands-are-important-urgent-credible/)

Hey @codinghorror and @eviltrout - was about to hijack my previous thread, but posted a new one.

Thanks again for the help!

Mike

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [February 13, 2017, 11:47pm UTC](https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327/2 "2017-02-13T23:47:56Z")

</div>

You are using embedded comments + required login?

---

<div class="post-metadata">

**Author:** ![Michael321](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Michael321](https://meta.discourse.org/u/Michael321)\
**Post date:** [February 14, 2017, 2:14am UTC](https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327/3 "2017-02-14T02:14:08Z")

</div>

Hi @Falco, yes.

Embeded comments show in the blog post. Which links to the discourse site. Which does OAuth(?) authentication to my app. The Login page of my app is too small to show in the iframe created by the embedded code.

Oh, snap! I think I see what you mean. Discourse is configured not to show these topics without a logged in user.

I have this option enabled: `login required - Require authentication to read content on this site, disallow anonymous access.`

So maybe that’s the problem. I don’t remember why I turned that on (I configured discourse several months ago). I think I can turn it off, and then configure any private categories individually if I want them hidden.

Does that seem right?

Thanks in advance!

Mike

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [February 14, 2017, 2:41am UTC](https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327/4 "2017-02-14T02:41:00Z")

</div>

> [@Michael321](#):
>
> So maybe that’s the problem. I don’t remember why I turned that on (I configured discourse several months ago). I think I can turn it off, and then configure any private categories individually if I want them hidden.
> 
> Does that seem right

Exactly, that would be the best way to handle private conversations + public comments.

---

<div class="post-metadata">

**Author:** ![Michael321](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Michael321](https://meta.discourse.org/u/Michael321)\
**Post date:** [February 14, 2017, 2:55am UTC](https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327/5 "2017-02-14T02:55:02Z")

</div>

Awesome, thanks! Seeing this all in action and working together, makes me so happy. These are really killer features.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/embedding-with-logins-iframe-too-small/57327/6 "2024-06-08T12:45:06Z")

</div>

This topic was automatically closed after 2671 days. New replies are no longer allowed.
