ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
53 stars 54 forks source link

Unable to redirect windows app when browser tab closed time #67

Closed Anish8940 closed 1 year ago

Anish8940 commented 1 year ago

Describe the bug

Unable to redirect windows app when browser tab closed time

To Reproduce

Steps to reproduce the behavior: 1) Open Windows app 2) Pass the url to flutter authenticate 3) New broser tab was opened and app was loaded in background 4) Close the browser tab 5) App always loading state.

Expected behavior

Tab was closed time we need to hide loading page

ThexXTURBOXx commented 1 year ago

You cannot simply check when a tab is closed in some browser. Because of this, there is a timeout (which is fixed in versions <= 2.x and adjustable in versions >= 3.x). If you want to change the timeout value, try out the alpha releases for 3.x.

Anish8940 commented 1 year ago

Ok. Thank you for you fastest reply @ThexXTURBOXx