[Feature Request]Multiple accounts
I've been playing around with the ability to add multiple accounts, but I'm not seeing that as a possibility. Am I missing something?
One Twift client should be responsible for one user. If you want to support multiple users you can replace old Twift client bound to user1 with a new client bound to user2
@ramzesenok thank you! I'll give this a try.
@ramzesenok I went ahead and gave this a shot and the problem I'm running into is that when Twift.Authentication() method is called the current account is still logged in and no way to log that account out.
@arbyruns you mean in the browser that is opened to confirm login?
@ramzesenok correct. I think it has to do with ASWebAuthenticationSession. If launch safari Twitter is logged in. If I log myself out the new session does not have me logged in. Does that make sense?
@arbyruns totally, this is how it works and it has nothing to do with Twift. If you want to log in a different user you first have to log out from the current user in browser
@ramzesenok I wonder if adding support prefersEphemeralWebBrowserSession would help with this? My understanding is that the session in Safari does not need to remain logged in. However, the other challenge I'm finding with adding support for prefersEphemeralWebBrowserSession is that I can't ever get to authorization pages on Twitter.
@arbyruns I believe it shouldn't log out cause the same account will be used when you use Twitter's web version