e-oj / visa

Easy third party authentication (OAuth 2.0) for Flutter apps.
https://pub.dev/packages/visa
MIT License
140 stars 21 forks source link

Possible improvement: A way to select account before performing login #10

Open VladRoscaDev opened 3 years ago

VladRoscaDev commented 3 years ago

This isn't a bug but would be nice to have.

Some users would like to get the screen that shows the current accounts on the device. Example you have two google accounts on the device and you want to choose one in order to login.

It would be nice to be able to add this functionality.

Great job with the package it is a real lifesaver!

e-oj commented 3 years ago

Thanks. I'm looking into changing the Google implementation to use external webviews or the Google sign in SDK because Google will be deprecating the use of webviews for their OAuth flows. That basically comes with the multiple accounts setup built in.

VladRoscaDev commented 3 years ago

Are there any updates on this issue?

e-oj commented 3 years ago

Seems like the lib would have to support external browsers to provide this functionality. I've been super busy lately so I don't know when I'll be able to implement this but it'll be part of the next release.