# Auth0 on iframe

**URL:** <https://community.auth0.com/t/auth0-on-iframe/36544>\
**Category:** Get Help\
**Created:** [January 18, 2020, 2:41pm UTC](https://community.auth0.com/t/auth0-on-iframe/36544 "2020-01-18T14:41:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pawelsz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pawelsz/32/12714_2.png) [@pawelsz](https://community.auth0.com/u/pawelsz)\
**Post date:** [January 18, 2020, 2:41pm UTC](https://community.auth0.com/t/auth0-on-iframe/36544/1 "2020-01-18T14:41:40Z")

</div>

I just implemented simple Angular based app with **Login with Auth0** button. It works well when I open it directly on browser. I can log in with success. My aim is to have my app embedded into another web page using iframe (as kind of widget).

`<div class="css"><iframe src="https://myapp.com"></iframe></div>`

But then during login I get an error

> There could be a misconfiguration in the system or a service outage. We track these errors automatically, but if the problem persists feel free to contact us.  
> Please try again.

> **invalid\_request** : You may have pressed the back button, refreshed during login, opened too many login dialogs, or there is some issue with cookies, since we couldn’t find your session. Try logging in again from the application and if the problem persists please contact the administrator.

On network tab i can see

> [https://mycustomname.eu.auth0.com/authorize?xxxx](https://mycustomname.eu.auth0.com/authorize?xxxx)

Which gets 302 with location

> /u/login?state=g6Fo2xxxxxxx

And then

> [https://mycustomname.eu.auth0.com//u/login?state=g6Fo2xxxxxxx](https://mycustomname.eu.auth0.com//u/login?state=g6Fo2xxxxxxx)

Returns with 400 HTTP code.

What could be wrong ? It’s not possible to use Auth0 on iframe ?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 23, 2020, 7:02pm UTC](https://community.auth0.com/t/auth0-on-iframe/36544/3 "2020-01-23T19:02:13Z")

</div>

Hi @pawelsz,

Welcome to the Community!

I am not sure if this is possible or not. Can you tell us what errors you are seeing in the logs in the dashboard?

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 18, 2020, 7:48pm UTC](https://community.auth0.com/t/auth0-on-iframe/36544/4 "2020-03-18T19:48:24Z")

</div>


