{"action":"created","issue":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1132","labels_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1132/comments","events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1132/events","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/issues/1132","id":98959141,"number":1132,"title":"Cannot close SFAuthenticationManager after launch is called","user":{"login":"sjacs5537","id":5335290,"avatar_url":"https://avatars.githubusercontent.com/u/5335290?v=3","gravatar_id":"","url":"https://api.github.com/users/sjacs5537","html_url":"https://github.com/sjacs5537","followers_url":"https://api.github.com/users/sjacs5537/followers","following_url":"https://api.github.com/users/sjacs5537/following{/other_user}","gists_url":"https://api.github.com/users/sjacs5537/gists{/gist_id}","starred_url":"https://api.github.com/users/sjacs5537/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjacs5537/subscriptions","organizations_url":"https://api.github.com/users/sjacs5537/orgs","repos_url":"https://api.github.com/users/sjacs5537/repos","events_url":"https://api.github.com/users/sjacs5537/events{/privacy}","received_events_url":"https://api.github.com/users/sjacs5537/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-04T12:44:21Z","updated_at":"2015-08-21T10:00:33Z","closed_at":null,"body":"Did the SDK provide any function to close the OAuth webview in SFAuthenticationManager???\r\n\r\nI tried to add a close button using the SFAuthenticationManagerDelegate:\r\n\r\n- (void)authManager:(SFAuthenticationManager *)manager willDisplayAuthWebView:(UIWebView *)view;\r\n\r\nBut I cannot find any function to close the webview directly.\r\n\r\nI try to call [[SFAuthenticationManager sharedManager].authViewController dismissViewControllerAnimated:YES completion:nil]; directly in my code, but the \"_isLaunching\" flag is already set to YES in SalesforceSDKManager, so I cannot call [[SalesforceSDKManager sharedManager] launch]; again after the webview is dismissed.\r\n\r\nAny other possible way to do that?\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/comments/133360671","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-iOS/issues/1132#issuecomment-133360671","issue_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-iOS/issues/1132","id":133360671,"user":{"login":"sjacs5537","id":5335290,"avatar_url":"https://avatars.githubusercontent.com/u/5335290?v=3","gravatar_id":"","url":"https://api.github.com/users/sjacs5537","html_url":"https://github.com/sjacs5537","followers_url":"https://api.github.com/users/sjacs5537/followers","following_url":"https://api.github.com/users/sjacs5537/following{/other_user}","gists_url":"https://api.github.com/users/sjacs5537/gists{/gist_id}","starred_url":"https://api.github.com/users/sjacs5537/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjacs5537/subscriptions","organizations_url":"https://api.github.com/users/sjacs5537/orgs","repos_url":"https://api.github.com/users/sjacs5537/repos","events_url":"https://api.github.com/users/sjacs5537/events{/privacy}","received_events_url":"https://api.github.com/users/sjacs5537/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T10:00:33Z","updated_at":"2015-08-21T10:00:33Z","body":"We have a app which can get and display public and private information from salesforce account.\r\nUnless the user kill the app, they are not able to cancel their login decision or close the OAuth webview, our app like 'frozen' and they cannot browse any other public information.\r\nIt is the user experience from our app user."}}