flutter_web_auth_2
flutter_web_auth_2 copied to clipboard
iOS Web browser not closing to Return Auth Code
Describe the bug
I am using Custom SSO to login to Application. Authentication is happening I am getting the code in the URL but am not able to callback to application.
Usage
Redirect URL: https://localhost:3000/auth.html (configured on auth server) Callback Scheme: 'https' Not Using Universal Links
Expected behavior
The browser should close & return the proper URL with the code parameter hence proceeding to the next step which is token generation. This is Happening on Android, Windows, and Web properly but not on iOS.
Screenshots
Have you found the solution?
@rdunlocked18 @Fyandono Did you find any solution for this in IOS ?
I have faced a similar problem, have you tried adding FlutterDeepLinkingEnabled as a boolean variable with value true in the Info.plist file? On the other hand, if it doesn't work I would try to debug the SwiftFlutterWebAuth2Plugin file in Xcode. With these steps I got it to work