teranetsrl / oauth2_client

Simple Dart library for interacting with OAuth2 servers.
BSD 2-Clause "Simplified" License
96 stars 112 forks source link

#111 Added support for the preferEphemeral behavior on android. Requi… #180

Closed dlatikaynen closed 2 months ago

dlatikaynen commented 8 months ago

Requires an update to flutter_web_auth_2 3.1.1 as per their docs: https://pub.dev/packages/flutter_web_auth_2

preferEphemeral: This has been split into the two named parameters preferEphemeral (for iOS and MacOS) and intentFlags (for Android) within FlutterWebAuth2Options. The former works exactly the same. However, if you want the old behaviour using preferEphemeral on Android, use the ephemeralIntentFlags constant as value for intentFlags.