Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBSDK does not allow me to sign in different account after logout #1075

Open
5 tasks done
KrisLau opened this issue May 27, 2022 · 4 comments
Open
5 tasks done

FBSDK does not allow me to sign in different account after logout #1075

KrisLau opened this issue May 27, 2022 · 4 comments

Comments

@KrisLau
Copy link

KrisLau commented May 27, 2022

Checklist before submitting a bug report

Java version

8.0.2010.9

Android version

Android 11

Android SDK version

13.2.0

Installation platform & version

Yarn

Package

Login

Goals

Login > logout > log in with different account

Expected results

Should show option to log out and change account

Actual results

Log in screen assumes I'm using the same account with no options to change account or log out

Steps to reproduce

I use react-native-fbsdk-next to use this SDK and there is already an issue there for this:

The main maintainer there has stated that they cannot do anything unless the underlying Facebook SDK changes. There is also a demand for this as there was also a previous issue on the old deprecated facebookarchive/react-native-fbsdk#712

Code samples & details

// INSERT YOUR CODE HERE
@yurika-e
Copy link

yurika-e commented Jun 7, 2022

This is expected behavior that we do not currently support "switch account" on the FB Login dialog. The user can go to Facebook app and / or FB on browser to switch accounts.

@KrisLau
Copy link
Author

KrisLau commented Jun 8, 2022

@yurika-e I've tried changing the account on the browser and it does not seem to work. Even when I log out and don't log in to any account, it will just automatically log me back in to the same account. Reference this thread: thebergamo/react-native-fbsdk-next#29

@dbacinski
Copy link

To log in to different account I had to clear Chrome app data 🤯

@KrisLau
Copy link
Author

KrisLau commented Jan 14, 2024

@dbacinski Yeah that's the same for me but it doesn't seem like facebook is planning to implement any fixes for this. I'm not sure how other apps implement it since I've definitely seen it in other apps. I'm assuming it has something to do with using an incognito mode webview somehow but im not sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants