# Blank screen after loginWithPopup

**URL:** <https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017>\
**Category:** Get Help\
**Created:** [September 5, 2022, 12:41pm UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017 "2022-09-05T12:41:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgscott](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mgscott/32/33201_2.png) [@mgscott](https://community.auth0.com/u/mgscott)\
**Post date:** [September 5, 2022, 12:41pm UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/1 "2022-09-05T12:41:18Z")

</div>

We are using @auth0/auth0-react (1.9.0) for a React application.

**Background**  
On for example Safari (iPhone 13), or any other browser where third party cookies are not allowed, we use the loginWithPopup function when a user wants to login or signup.

**Expectation**  
After successful signup in the popup window, I expect the popup to close and return the user to the primary window.

**Problem**  
Instead the popup simply navigates to a blank screen with the following format as url:

[https://auth](https://auth).{MYDOMAIN}.com/authorize/resume?state={STATE}[https://auth](https://auth).{MYDOMAIN}.com/authorize/resume?state={STATE}

This particularly happen on a fresh browser session with no previous attempts or cookies.

The user can of course close the popup manually, but we think this is a problem UX wise for our new users. Especially on mobile devices where loginWithPoup equals a new browser window.

Can someone explain why this dead end blank screen occurs? Or how we can avoid it.

Thanks in advance

---

<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:** [September 30, 2022, 11:36pm UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/3 "2022-09-30T23:36:08Z")

</div>

Hi @mgscott,

Welcome to the Auth0 Community and apologies for the delay!

Are you still seeing this issue? If so, could you please provide us with a code snippet or example of how you have implemented Auth0 in your React app?

Does this behavior _only happen during a fresh session_? Or are you saying it happens on all sessions including a new session?

---

<div class="post-metadata">

**Author:** ![mgscott](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mgscott/32/33201_2.png) [@mgscott](https://community.auth0.com/u/mgscott)\
**Post date:** [October 2, 2022, 8:40am UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/4 "2022-10-02T08:40:27Z")

</div>

Yes, we are still experiencing this. Its occuring on fresh session. On second try in the same session it usually works for some reason.

I also created a ticket for this the other day, and sent the HAR file to your colleague as requested.

---

<div class="post-metadata">

**Author:** ![kuyashii](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@kuyashii](https://community.auth0.com/u/kuyashii)\
**Post date:** [October 5, 2022, 4:32pm UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/5 "2022-10-05T16:32:31Z")

</div>

Hi @dan.woda - any update on this? We are seeing the same issue here.

---

<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:** [October 6, 2022, 4:39pm UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/6 "2022-10-06T16:39:54Z")

</div>

Great, I am going to link the ticket to this topic and I’ll update here when the ticket has come to a resolution. Thank you!

---

<div class="post-metadata">

**Author:** ![KweekTransfer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kweektransfer/32/37168_2.png) [@KweekTransfer](https://community.auth0.com/u/KweekTransfer)\
**Post date:** [October 6, 2022, 5:05pm UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/8 "2022-10-06T17:05:02Z")

</div>

We migrated from Azure B2C and i wasn’t expecting this behaviour. How do we close this popup? It is a bad UX expereince asking the user to manually close the popup. What do we do to have this resolved?

---

<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:** [October 6, 2022, 5:11pm UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/9 "2022-10-06T17:11:31Z")

</div>

Hi @KweekTransfer,

As I mentioned above:

> [@dan.woda](#):
>
> Great, I am going to link the ticket to this topic and _I’ll update here when the ticket has come to a resolution_. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 7, 2022, 10:50am UTC](https://community.auth0.com/t/blank-screen-after-loginwithpopup/90017/10 "2022-11-07T10:50:33Z")

</div>

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