react-native-oauth icon indicating copy to clipboard operation
react-native-oauth copied to clipboard

No way to switch to other Google/Facebook account

Open ujeenator opened this issue 8 years ago • 2 comments

After signing once to Facebook or Google it start to sign you instantly, and account selection page doesn't ever appear.

ujeenator avatar Aug 28 '17 18:08 ujeenator

The login pages save sessions in cookies. You must clear the cookies if you want to switch user accounts for each provider using react-native-cookie. Use Cookie.clear() https://github.com/shimohq/react-native-cookie

jslok avatar Aug 31 '17 02:08 jslok

@justinlok thank you, Cookie.clear() works for Android, but on iOS problem not resolved, after first sign-in, all next sign-in instantly returns result, without prompting for login/password.

ujeenator avatar Sep 16 '17 16:09 ujeenator