Tutorial Request: AppAuth for Android and AppAuth for iOS Integration with Flutter

141 views
Skip to first unread message

Peter King

unread,
Jun 19, 2018, 5:35:29 AM6/19/18
to Flutter Dev
Hi All,

I'm struggling to implement AppAuth in Flutter, becoming quite painful, I've never done any native mobile apps in Android or iOS, hence the initial struggle.
On the other hand, I'm enjoying Dart 2.0 and Flutter quite a lot, but this hurdle with AppAuth is a big one for me; and could be for others.

I'm requesting someone who loves Flutter (and who doesn't hey?) and knows native Android and iOS to come up with a tutorial showing how to integrate AppAuth with Flutter.

There must be someone out there that is prepared to put in the effort to help people like myself, fingers crossed.

Cheers,
Pete.

Mark Phillips

unread,
Jan 13, 2019, 8:09:30 PM1/13/19
to Flutter Dev
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
Reply all
Reply to author
Forward
0 new messages