FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

Once you log in with twitter account, you can't switch it

Open dzziwny opened this issue 5 years ago • 0 comments

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository file a GitHub issue.
  • For general technical questions, post a question on StackOverflow tagged appropriately.
  • For general Firebase discussion, use the firebase-talk google group
  • For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

  • Android device: OnePlus 6
  • Android OS version: 10
  • Google Play Services version: 20.45.16
  • Firebase/Play Services SDK version: _____
  • FirebaseUI version: 7.1.1

Step 3: Describe the problem:

Once you log in with twitter account, you can't switch it. Twitter site forces login previous account.

Steps to reproduce:

  1. Open sample project
  2. Copy/paste twitter credentials from twitter project console
  3. Run sample app
  4. login with twitter
  5. log out
  6. login again with twitter

Observed Results:

Twitter site automatically logs in previous account.

Expected Results:

There sould be some option to switch account.

Relevant Code:

List<AuthUI.IdpConfig> providers = Arrays.asList(
    new AuthUI.IdpConfig.TwitterBuilder().build()
  );

  startActivityForResult(
    AuthUI.getInstance()
      .createSignInIntentBuilder()
      .setAvailableProviders(providers)
      .build(),
    RC_SIGN_IN);

dzziwny avatar Dec 02 '20 21:12 dzziwny