-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue prompting for authentication on OSX with Chrome as default browser #13
Comments
Wow, Apple is really causing many problems (as always lol)... |
I tagged this PR as being part of |
Thanks for the quick feedback, however it is unfortunate that this is the status quo. I'm unsure if this is an Apple issue or a Chrome issue. Just for the sake of testing this a bit further, I downloaded Firefox and ran the same scenario... it is handled differently: when I set firefox as my default browser, the ASWebAuthenticationSession pop-up requests that you open the link with Safari, exactly that same as if Safari were the default browser. Perhaps this is more a Chrome issue rather than an Apple issue and this information might help whoever picks this up. In any case, here's another instance of the same issue reported to Apple to which they did not respond :) |
I have tested it now multiple times with the newest 2.0.2 under mac os 13 and with chrome 107 and it works as it should. Can you may test it again with the newest version of this package? |
Closing this due to inactivity |
Describe the bug
This is a re-post of LinusU#136 .
When using flutter_web_auth v0.4.1 (or flutter_web_auth_2 on v1.1.2) on Darwin OSX (12.5.1) targets that have the default browser set to Chrome (Version 105.0.5195.102 (Official Build) (x86_64)), the authentication prompt opens and closes immediately afterwards, causing a PlatformException. If the default browser is set to Safari, the authentication flows work as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Chrome window should have opened on the correct URL, instead of not opening at all (when Chrome is already open) or opening on the "Chrome Profile Selection Page".
Screenshots
N/A
Device (please complete the following information!)
flutter_web_auth_2
version: 1.1.2Additional context
N/A
The text was updated successfully, but these errors were encountered: