You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using flutter_web_auth v0.4.1 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.
Steps to reproduce
Set Chrome as default browser in OSX
Start the authentication flow with the default browser (Chrome), using flutter_web_auth v0.4.1
See the chrome window open and immediately close
Stack trace:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] UnhandledException:PlatformException(EUNKNOWN, The operation couldn’t be completed. (com.apple.AuthenticationServices.WebAuthenticationSession error 3.), null, null)
#0StandardMethodCodec.decodeEnvelope
package:flutter/…/services/message_codecs.dart:653
#1MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:296<asynchronous suspension>
#2FlutterWebAuth.authenticate
package:flutter_web_auth/flutter_web_auth.dart:35<asynchronous suspension>
The text was updated successfully, but these errors were encountered:
This seems indeed to be a problem in the underlying macOS implementation, so unfortunately there isn't really anything actionable that I can do right now.
Issue Description
When using
flutter_web_auth v0.4.1
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 aPlatformException
. If the default browser is set to Safari, the authentication flows work as expected.Steps to reproduce
flutter_web_auth v0.4.1
The text was updated successfully, but these errors were encountered: