flutter_web_auth_2
flutter_web_auth_2 copied to clipboard
[Bug]: Using universal links with preferEphemeral true does not work
Description
First, thank you for this project, it helps us a lot.
I have noticed that the redirect (closing of the auth pop-up) does not work when using universal links on iOS when preferEphemeral
is set to false
. It does however work with true
.
Not sure if this is related to ASWebAuthenticationSession or this Flutter package.
In any case, I would appreciate if some light can be shed on why this happens.
Thank you.
Minimal Reproduction
Steps to reproduce the behaviour:
Set up Universal Links
Use FlutterWebAuth2 with preferEphemeral
set to false
Notice you wont get redirected once the auth flow is completed.
Exception or Error
No Exception.
Expected Behaviour
Should redirect regardless of preferEphemeral is true or false
Screenshots
No response
Additional context
No response
Device
iPhone
OS
17.4
Browser
NA
Flutter version
3.24.0
flutter_web_auth_2 version
3.1.2
Checklist
- [X] I have read and followed the entire troubleshooting guide and it has not provided the solution I need.
- [X] I have provided all the information I can.