# Question: auth0-spa.js, auth0.loginWithPopup() on safari mobile

**URL:** <https://community.auth0.com/t/question-auth0-spa-js-auth0-loginwithpopup-on-safari-mobile/74555>\
**Category:** Get Help\
**Tags:** auth0-spa-js\
**Created:** [December 9, 2021, 9:22am UTC](https://community.auth0.com/t/question-auth0-spa-js-auth0-loginwithpopup-on-safari-mobile/74555 "2021-12-09T09:22:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptjm8422](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ptjm8422/32/33636_2.png) [@ptjm8422](https://community.auth0.com/u/ptjm8422)\
**Post date:** [December 9, 2021, 9:22am UTC](https://community.auth0.com/t/question-auth0-spa-js-auth0-loginwithpopup-on-safari-mobile/74555/1 "2021-12-09T09:22:53Z")

</div>

Please include the following information in your post:

- **Which SDK this is regarding:** e.g. auth0-node

auth0-spa-js

- **SDK Version:** e.g. 2.29.0

1.19.3 (latest)

- **Platform Version:** e.g. Node 12.19.0

Node v17.0.1

I have been reading around on the use of auth0.loginWithPopup(). I am using it to maintain the state of an SPA. It seems to be working but I have read there can be issues with Safari mobile, and was wondering if this is still the case, as I haven’t the means to test this at the moment (it works with Safari desktop…) and I can’t find any more up-to-date information.  
Is auth0.loginWithPopup() stable to use for cross-platform apps, or can there still be issues. It seems a lot easier to use it with an SPA rather than screwing around with OAuth states and such.  
Also does auth0.loginWithPopup() mean handleRedirectCallback() doesn’t need to be used?

Thanks

---

<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:** [December 9, 2021, 10:39pm UTC](https://community.auth0.com/t/question-auth0-spa-js-auth0-loginwithpopup-on-safari-mobile/74555/3 "2021-12-09T22:39:39Z")

</div>

Hi @ptjm8422,

Welcome to the Auth0 Community! It looks like you are listing both the node SDK and the spa SDK…I am going to assume your questions is about auth0-spa-js, but please let me know if I am missing something. 🙂

> [@ptjm8422](#):
>
> It seems to be working but I have read there can be issues with Safari mobile

Can you be more specific? What issues are you running into?

---

<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:** [April 8, 2022, 4:27pm UTC](https://community.auth0.com/t/question-auth0-spa-js-auth0-loginwithpopup-on-safari-mobile/74555/4 "2022-04-08T16:27:29Z")

</div>


