# Facebook and Google OAuth in new window?

**URL:** <https://meta.discourse.org/t/facebook-and-google-oauth-in-new-window/251065>\
**Category:** Product Support\
**Created:** [January 8, 2023, 6:21pm UTC](https://meta.discourse.org/t/facebook-and-google-oauth-in-new-window/251065 "2023-01-08T18:21:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![EGreg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/egreg/32/133614_2.png) [@EGreg](https://meta.discourse.org/u/EGreg)\
**Post date:** [January 8, 2023, 6:41pm UTC](https://meta.discourse.org/t/facebook-and-google-oauth-in-new-window/251065/3 "2023-01-08T18:41:49Z")

</div>

I am not asking for guarantees. Just to know where the Javascript is that changes window.location so I can replace it with window.open

Discourse actually has a new config variable that allows it to be displayed in iframes, and it works. Look at [https://qbix.com/ecosystem](https://qbix.com/ecosystem) for instance, or [https://intercoin.app](https://intercoin.app)

---

_[View the full topic](https://meta.discourse.org/t/facebook-and-google-oauth-in-new-window/251065)._
