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

Support ASWebAuthenticationSession.Callback #2515

Open
1 of 2 tasks
noriHanda opened this issue Jan 26, 2025 · 0 comments
Open
1 of 2 tasks

Support ASWebAuthenticationSession.Callback #2515

noriHanda opened this issue Jan 26, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@noriHanda
Copy link

noriHanda commented Jan 26, 2025

Is there an existing feature request for this?

  • I have searched the existing feature request

Operating System

iOS

Pain

Mobile app developers end up looking for a way to call ASWebAuthenticationSession on iOS and Custom Chrome Tabs on Android when they want to implement a secure authentication feature. Although this package offers WebAuthenticationSession and ChromeSafariViewBrowser to implement such a feature, WebAuthenticationSession is missing a parameter that expects UniversalLinks, so the developers currently have to either stick with Custom URL Scheme or look for another package that offers the latest version of ASWebAuthenticationSession.

I understand that Custom URL Scheme does not lead to any security issues in this senario, but it does when used on Android. This means that sticking with Custom URL Scheme leads to a need of managing a Custom URL Scheme for iOS and an AppLink for Android on one feature which can quite a bit of pain if a project leader expects little platform-specific requirements with Flutter.

Suggested solution

To support UniversalLinks (i.e. deeplinking strategy that starts uses https) on iOS, WebAuthenticationSession API in this awesome package needs to have a parameter that expects https URL.

Perhaps, it could be even better if one could combine the latest ASWebAuthenticationSession and CustomChromeTabs into one API so that developers do not have to write switch-case statement on an authentication feature for iOS and Android.

Useful resources

No response

Additional information

ASWebAuthenticationSession.Callback API is only available on iOS 17.4 or higher

Self grab

  • I'm ready to work on this issue!
@noriHanda noriHanda added the enhancement New feature or request label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant