{"action":"created","issue":{"url":"https://api.github.com/repos/alexruperez/PFLinkedInUtils/issues/7","labels_url":"https://api.github.com/repos/alexruperez/PFLinkedInUtils/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/alexruperez/PFLinkedInUtils/issues/7/comments","events_url":"https://api.github.com/repos/alexruperez/PFLinkedInUtils/issues/7/events","html_url":"https://github.com/alexruperez/PFLinkedInUtils/issues/7","id":55937954,"number":7,"title":"Linked to existing account, logout, log back in error","user":{"login":"tdunham02","id":810588,"avatar_url":"https://avatars.githubusercontent.com/u/810588?v=3","gravatar_id":"","url":"https://api.github.com/users/tdunham02","html_url":"https://github.com/tdunham02","followers_url":"https://api.github.com/users/tdunham02/followers","following_url":"https://api.github.com/users/tdunham02/following{/other_user}","gists_url":"https://api.github.com/users/tdunham02/gists{/gist_id}","starred_url":"https://api.github.com/users/tdunham02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdunham02/subscriptions","organizations_url":"https://api.github.com/users/tdunham02/orgs","repos_url":"https://api.github.com/users/tdunham02/repos","events_url":"https://api.github.com/users/tdunham02/events{/privacy}","received_events_url":"https://api.github.com/users/tdunham02/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T18:32:50Z","updated_at":"2015-01-29T18:33:38Z","closed_at":null,"body":"When a user is already logged in and has a password they made and links with LinkedIn then signs out, they're unable to log back into their account with LinkedIn.\r\n\r\nThe problem is that when we call `+ (void)logInOrSignUpUserWithAccessToken:(NSString *)accessToken expirationDate:(NSDate *)expirationDate profileID:(NSString *)profileID block:(PFUserResultBlock)block` we have the `loginWithUsernameInBackground` method assume their password is `(undefined)`.\r\n\r\n    PFUser *user = (PFUser *)object;\r\n    [PFUser logInWithUsernameInBackground:user.username password:@\"(undefined)\" block:block];\r\n\r\nI'm working on a solution now, I'll let you know if I find a good way of doing this!"},"comment":{"url":"https://api.github.com/repos/alexruperez/PFLinkedInUtils/issues/comments/72078202","html_url":"https://github.com/alexruperez/PFLinkedInUtils/issues/7#issuecomment-72078202","issue_url":"https://api.github.com/repos/alexruperez/PFLinkedInUtils/issues/7","id":72078202,"user":{"login":"tdunham02","id":810588,"avatar_url":"https://avatars.githubusercontent.com/u/810588?v=3","gravatar_id":"","url":"https://api.github.com/users/tdunham02","html_url":"https://github.com/tdunham02","followers_url":"https://api.github.com/users/tdunham02/followers","following_url":"https://api.github.com/users/tdunham02/following{/other_user}","gists_url":"https://api.github.com/users/tdunham02/gists{/gist_id}","starred_url":"https://api.github.com/users/tdunham02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdunham02/subscriptions","organizations_url":"https://api.github.com/users/tdunham02/orgs","repos_url":"https://api.github.com/users/tdunham02/repos","events_url":"https://api.github.com/users/tdunham02/events{/privacy}","received_events_url":"https://api.github.com/users/tdunham02/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T18:33:38Z","updated_at":"2015-01-29T18:33:38Z","body":"If the user creates an account with LinkedIn, there's no issue with logging in and out."}}