ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
51 stars 50 forks source link

Safari shows Pop-up window blocked #55

Closed bhavinmdesai closed 11 months ago

bhavinmdesai commented 1 year ago

When using flutter_web_auth_2: ^2.1.5 and when I call authenticate without passing any contextArgs, the safari blocks open up in a new tab and sayPop-up window blocked.

ThexXTURBOXx commented 1 year ago

Sadly, I have no Apple device to debug that on. So someone else needs to do that, sadly

krille-chan commented 1 year ago

Same here. Also reported by our customers on Edge and even Chrome sometimes

Hamidrzash commented 1 year ago

I'm also having this issue on nearly all browsers

ThexXTURBOXx commented 1 year ago

Works for me in Firefox without any problems, will try to reproduce on other browsers later. In the mean time, please try to pass one of the following as contextArgs: _blank, _parent, _self, _top (source: https://www.w3schools.com/jsref/met_win_open.asp) Please report back if they have any effect on the issue

ThexXTURBOXx commented 1 year ago

Sadly, still not reproducible on my end with the example (tested on Firefox, Chrome and Edge, all on Windows)

alfaruqrizqi18 commented 1 year ago

Facing same issue here, tried to authenticate Tiktok. Need to open it in new window popup instead new tab

ThexXTURBOXx commented 1 year ago

Please try the new prereleases for 3.x. They use url_launcher to open the URL. If it is still an issue then, please report this bug to them.

ThexXTURBOXx commented 11 months ago

As this is no longer in my hands, I will close this issue. For further problems, please report to url_launcher.