jaychang0917 / SimpleAuth

A easy to use social authentication android library. (Facebook, Google, Twitter, Instagram)
224 stars 51 forks source link

Get twitter credentials for firebase auth #21

Closed ndptra closed 6 years ago

ndptra commented 6 years ago

I am currently developing an app that is using firebase auth that has twitter as one of its sign-in methods. The problem is, to sign in with credentials in firebase, we have to get the authToken and Secret. Is there a way to get those 2 properties if I'm using this library? Thanks in advance

ndptra commented 6 years ago

Turns out that calling TwitterCore.getInstance().sessionManager.activeSession then get the session's authtoken and secret. Closing this issue

AndrewHossam commented 6 years ago

I suggest to add "secret" to SocialUser module , along with accessToken