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] Would it be possible to support non-embedded browser (so use the default system browser) #565

Open
MathiasCochet opened this issue Nov 8, 2024 · 1 comment

Comments

@MathiasCochet
Copy link

MathiasCochet commented Nov 8, 2024

I have been using a fork* of this library that adds the use of a default browser to authenticate. I had to use this becasue the way my authentication works is as follows:

  • user clicks on login button -> default browser opens (not in-app) -> browser opens authentication app (itsme) -> app opens callback url back in the browser -> browser closes and goes back to app.

This used to work just fine until iOS 18. If I click the login button I just get "error: unable to open Safari."

So I tried using the latest version of flutter_appauth. But then the flow breaks. it looks something like this.

  • user clicks on login button -> in-app browser opens -> inapp browser opens authentication app (itsme) -> app opens callback url in default browser (so it doesnt return to the app with the in-app browser open) -> callback show an error.

*the fork: https://github.com/digitalrmdy/flutter_appauth/tree/feature/android-sdk-34

@MaikuB
Copy link
Owner

MaikuB commented Nov 13, 2024

This would be something you'd need to investigate to determine. The plugin makes use of the AppAuth Android and iOS SDKs so the functionality is really provided by those SDKs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants