Safari popup blocked

We have just finalized the web3auth implementation on NiftyFair.
There is one issue though. On safari, the popup for signing in gets blocked and users need to manually allow pop-ups.
Is there a way to prevent the popups being blocked on Safari?

@olivier Thanks for your recent post.

I will check internally if we have control over the native safari popups.

Due to browser restrictions on popups, you should reduce the time taken between user interaction and the login popups being opened. This is highly browser dependent, but the best practice for this is to separate the initialisation of the SDK and the user login method calls.

If that doesn’t work you, unfortunately, we can’t do much about. Browsers have their own intelligent tracking prevention and they don’t always block popups on user interaction. Either user has to change the browser settings to allow popups or you can prompt a notification for user to allow popups in case it is being blocked.

Ideally, I might advise you to use the redirect method here since that is the way to avoid popup altogether.

Thanks for your reply. We will do a some refactoring tomorrow to see if we can separate the initialization. Will share the result :wink:

2 Likes

hey mate, any luck with this?

I think you can use set the uxMode to ‘redirect’ instead ‘popup’

1 Like

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