In version 3.0.0 and later of this library when redirecting to auth.html from auth server window.opener is set to null.
However, in version 2.2.1 window.opener is set to the flutter window that started FlutterWebAuth2.authenticate which allows for flutter to read in the token when listing to window messages
Expected behavior
However, in version 2.2.1 window.opener is set to the flutter window that started FlutterWebAuth2.authenticate which allows for flutter to read in the token when listing to window messages
Device (please complete the following information!)
Browser: chrome and firefox
flutter_web_auth_2 version: 3.0.0
Checklist
[X] I have read and followed the entiretroubleshooting guide and it has not provided the solution I need.
[X] I have provided all the information I can (incl. auth URL etc.)
Describe the bug
In version 3.0.0 and later of this library when redirecting to auth.html from auth server window.opener is set to null. However, in version 2.2.1 window.opener is set to the flutter window that started FlutterWebAuth2.authenticate which allows for flutter to read in the token when listing to window messages
Expected behavior
However, in version 2.2.1 window.opener is set to the flutter window that started FlutterWebAuth2.authenticate which allows for flutter to read in the token when listing to window messages
Device (please complete the following information!)
flutter_web_auth_2
version: 3.0.0Checklist