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
51 stars 50 forks source link

[Windows] Add support for custom callback schemes #92

Closed Mino5531 closed 7 months ago

Mino5531 commented 8 months ago

This PR adds supports for custom callback schemes during authentication on Windows, by opening a new instance of the application that displays a webview (Microsoft WebView2).

Potential issues?

fixes #25 And should also (hopefully) fix #73

ThexXTURBOXx commented 8 months ago

Thank you very much for your PR! I will review it probably during the weekend :) The release will probably be version 4.0.0 then due to the breaking changes, but let's see

ThexXTURBOXx commented 7 months ago

Sorry for the late response. I have merged your changes and made sure that the "legacy" way and your new approach are both still callable. I have also documented everything appropriately and will release 4.0.0-alpha.0 now. Thanks for contributing!