So I use parse to login and signup users via Twitter from my ios app. Twitter signup works as intended from Parse but when trying to log in the user into TwitterKit (so that I can post tweets ) the TWTRAuthSession == nil.
This is the solution I’m following: http://stackoverflow.com/a/32634161/150608 What may be the issue?
let authToken = PFTwitterUtils.twitter()?.authToken
let authTokenSecret = PFTwitterUtils.twitter()?.authTokenSecret
Twitter.sharedInstance().sessionStore.saveSessionWithAuthToken(authToken!, authTokenSecret: authTokenSecret!, completion: { (session, error) -> Void in
Session is always nil. I have checked and I have an authToken and authTokenSecret.