Closed nateshmbhat closed 6 months ago
Please try out with the latest 4.x pre-release and also try to set intentFlags
within FlutterWebAuth2Options
to ephemeralIntentFlags
Stale issue; closing due to inactivity
Is there a reason why ephemeral intent flags are not active by default?
It causes problems with intents that are being launched during the authentication session. For example, when opening MFA apps like Authy to copy OTPs, the custom tab is closed if it is ephemeral. I have not yet found a solution which makes the custom tab act as "ephemeral", but at the same time allows MFA apps (or even password managers like Bitwarden) to open without terminating the custom tab.
Description
Currently, i'm doing sso login using this library and after the login, the webpage redirects to the following intent url which is handled inside the app. the authenticate function resolves fine and i see the callback url in my dart logs.
Issue : The browser window does not close and is still focused even after the authenticate promise has resolved.
Minimal Reproduction
Exception or Error
There's no error log
Expected Behaviour
The web browser should close and app should come into focus
Screenshots
No response
Additional context
No response
Device
Oneplus 7
OS
Android 12
Browser
Chrome
Flutter version
3.19.5
flutter_web_auth_2 version
3.1.1
Checklist