{"action":"opened","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/459","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/459/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/459/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/459/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/459","id":113020665,"number":459,"title":"Revocable session is invalidated when anonymous user becomes registered","user":{"login":"ako2009","id":1116051,"avatar_url":"https://avatars.githubusercontent.com/u/1116051?v=3","gravatar_id":"","url":"https://api.github.com/users/ako2009","html_url":"https://github.com/ako2009","followers_url":"https://api.github.com/users/ako2009/followers","following_url":"https://api.github.com/users/ako2009/following{/other_user}","gists_url":"https://api.github.com/users/ako2009/gists{/gist_id}","starred_url":"https://api.github.com/users/ako2009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ako2009/subscriptions","organizations_url":"https://api.github.com/users/ako2009/orgs","repos_url":"https://api.github.com/users/ako2009/repos","events_url":"https://api.github.com/users/ako2009/events{/privacy}","received_events_url":"https://api.github.com/users/ako2009/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-23T13:34:53Z","updated_at":"2015-10-23T13:34:53Z","closed_at":null,"body":"To reproduce the issue just set \"Require Revocable Sessions\" to YES and then run the code below.\r\n\r\n```\r\n    [Parse setApplicationId:PARSE_APP_ID clientKey:PARSE_CLIENT_KEY];\r\n    [PFUser enableAutomaticUser];\r\n    \r\n    [PFUser currentUser][@\"name\"] = @\"unknown\";\r\n    [[PFUser currentUser] saveInBackgroundWithBlock:^(BOOL succeeded, NSError * _Nullable error) {\r\n        \r\n        // Revocable session is appeared on Parse, it's OK\r\n        \r\n        PFUser* user = [PFUser user];\r\n        user.username = @\"test@test.com\";\r\n        user.password = @\"test\";\r\n        \r\n        [user signUpInBackgroundWithBlock:^(BOOL succeeded, NSError* error) {\r\n            \r\n            // Revocable session is removed on Parse, it's FAIL\r\n            // Session is removed in any case, if there is error or not\r\n            \r\n        }];\r\n    }];\r\n```"}}