Hi Pete,
This is exactly what I'm looking for too. I'm just wondering what the underlying component should look like. To clarify further, should there be an AppAuth-JS equivalent for Dart (AppAuth-Dart), or should there be a Flutter specific plugin that consumes the existing AppAuth-iOS and AppAuth-Android SDKs?
For some background, I use AppAuth-JS currently in an Ionic/Cordova application. I consume the library and extend the behaviour to support working in a Cordova framework, rather than say in Electron, i.e.used SafariViewController/ChromeTabs + Custom URL scheme Cordova plugins. AppAuth-JS supports this extensibility fairly easily.
So in light of AppAuth-JS's ability to work for both desktop (Electron) and mobile (Cordova in my case) I'm wondering if there should now be a push towards an AppAuth-Dart equivalent perhaps? So this wouldn't necessarily dictate the mechanism by which URLs are navigated and likewise redirect URI parameters extracted, hence it would allow a Flutter developer to extend and use other Dart plugins for launching an appropriate external user agent and interact via a custom URL scheme for redirection.
Thanks, Mark