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!
Problem is that since June Twitter seems to enforce something called callback locking which never worked so I had it always disabled.
I set up the callback url just like I was told from the firebase project page and it did work before but now with the locking it does not anylonger.
Relevant Twitter url : https://twittercommunity.com/t/action-required-sign-in-with-twitter-users-must-whitelist-callback-urls/105342
So what I did is update to these versions above but sadly it did not fix anything.
logcat output, etc.Well the code is basically the same as in Firebase Auth UI example :
in androids onCreate :
twitterprovider = Arrays.asList( new AuthUI.IdpConfig.TwitterBuilder().build());
Now calling this to show twitter login (which worked like 2-3 weeks ago) :
AuthUI.getInstance()
.createSignInIntentBuilder()
.setAvailableProviders(twitterprovider )
.setTosUrl("https://somurl.com/terms-of-service.html")
.setPrivacyPolicyUrl("https://somurl.com/privacy-policy.html")
.build(),
RC_SIGN_IN);
I used this : implementation 'com.twitter.sdk.android:twitter-core:3.1.1'
Maybe also relevant : https://github.com/twitter/twitter-kit-android/issues/134
https://github.com/twitter/twitter-kit-android/issues/135
Added "twittersdk://" without the quotation marks as a callback url in twitter app settings (nothing else just twittersdk:// !! )
now it works. Not sure why you have to do that even though its their own sdk lol.
Anyway this is fixed
@devingDev thanks for following up on your own issue! I just ran into this with @lsirac and you saved us.
you probably could find it after some research but no problem. just hate having solved issues without any solution mentioned. have fun
in firebase:Just use callback_Url twittersdk://,It is working Fine both firbase authentication and twitter Login.
where in firebase do you set that url?
You know this issue is solved?
@devingDev you have to set that URL in the Twitter console, no change needed in Firebase.
Helps when people read what is some comments above... anyway I'm out this is solved for me.
Most helpful comment
https://github.com/twitter/twitter-kit-android/issues/135
Added "twittersdk://" without the quotation marks as a callback url in twitter app settings (nothing else just twittersdk:// !! )
now it works. Not sure why you have to do that even though its their own sdk lol.
Anyway this is fixed