# Authenticating From Dashboard IFrame

**URL:** <https://community.hubspot.com/t/authenticating-from-dashboard-iframe/73483>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [January 23, 2023, 10:52am UTC](https://community.hubspot.com/t/authenticating-from-dashboard-iframe/73483 "2023-01-23T10:52:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MRickard](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@MRickard](https://community.hubspot.com/u/MRickard)\
**Post date:** [January 23, 2023, 10:52am UTC](https://community.hubspot.com/t/authenticating-from-dashboard-iframe/73483/1 "2023-01-23T10:52:22Z")

</div>

Hi,

We’d like to embed content from our website ([console.ebsta.com](http://console.ebsta.com/)) in a Hubspot dashboard as an IFrame. The information shown on our site is customer & user specific so the first thing we need to do is authenticate the user. We do this using Hubspot OAuth for which we have to redirect them to [app.hubspot.com](http://app.hubspot.com/). The dashboard IFrame does not allow content to have the same url as the parent widow so this redirect is blocked. We would normally get round this by showing the login page in a popup window or new browser tab, unfortunately the IFrame settings prevent us from doing this so we have no way to show the login page.  
Is there any way we can get to the Hubspot login page from a dashboard IFrame or otherwise securely pass in information about the current user?

Thanks

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 23, 2023, 7:38pm UTC](https://community.hubspot.com/t/authenticating-from-dashboard-iframe/73483/2 "2023-01-23T19:38:28Z")

</div>

Hi, @MRickard 👋 Thanks for reaching out. Hey, @Anton [@Phil\_Vallender](https://community.hubspot.com/t5/user/viewprofilepage/user-id/74) have you tackled anything similar?

Thanks for taking a look! — Jaycee
