Skip to content
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

iOS Web browser not closing to Return Auth Code #69

Open
rdunlocked18 opened this issue Sep 20, 2023 · 7 comments
Open

iOS Web browser not closing to Return Auth Code #69

rdunlocked18 opened this issue Sep 20, 2023 · 7 comments
Assignees
Labels
apple [See issue #68] Just Apple being Apple again... bug Something isn't working

Comments

@rdunlocked18
Copy link

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

Simulator Screenshot - iPhone 14 Pro Max - 2023-09-20 at 19 22 43

@rdunlocked18 rdunlocked18 added the bug Something isn't working label Sep 20, 2023
@ThexXTURBOXx ThexXTURBOXx added the apple [See issue #68] Just Apple being Apple again... label Sep 20, 2023
@Fyandono
Copy link

Have you found the solution?

@SunilKividor
Copy link

@rdunlocked18 @Fyandono Did you find any solution for this in IOS ?

@brickbit
Copy link

brickbit commented May 6, 2024

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

@intellitour
Copy link

Same here. Happens on iOS 18.1. Works on iOS 16.4. Going to test on 18.0 and 17... will be right back.

@intellitour
Copy link

Same on iOS 18

@intellitour
Copy link

Now I've just tested on iOS 17.5 and it works!

This seems, somehow, related to this other issue: FormidableLabs/react-native-app-auth#1026

@intellitour
Copy link

Found this... seems like iOS 18 problem: https://forums.developer.apple.com/forums/thread/764468

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple [See issue #68] Just Apple being Apple again... bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants