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

Please include the following information in your post:

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


  • 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?


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. :slightly_smiling_face:

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