MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
269 stars 239 forks source link

[Draft][flutter_appauth][flutter_appauth_platform_interface] Add platform method to process callbacks which where not received nativly #363

Open JordyLangen opened 1 year ago

JordyLangen commented 1 year ago

Draft implementation for suggestion two mentioned in #358

Currently only did a quick version of the Obj-C impl.

The way this would work:

  1. Authentication process is started using authorizeAndExchangeCode
  2. The sign in callback is potentially caught by another plugin and handeld in the flutter app
  3. In order to continue with the OAuth flow, the app sends the callback url to this plugin using processCallback