{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/FirebaseUI-iOS/issues/83","repository_url":"https://api.github.com/repos/firebase/FirebaseUI-iOS","labels_url":"https://api.github.com/repos/firebase/FirebaseUI-iOS/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/firebase/FirebaseUI-iOS/issues/83/comments","events_url":"https://api.github.com/repos/firebase/FirebaseUI-iOS/issues/83/events","html_url":"https://github.com/firebase/FirebaseUI-iOS/issues/83","id":164991473,"number":83,"title":"FirebaseAuthUI not creating new user from Facebook authentication - Swift","user":{"login":"heydana","id":6992884,"avatar_url":"https://avatars.githubusercontent.com/u/6992884?v=3","gravatar_id":"","url":"https://api.github.com/users/heydana","html_url":"https://github.com/heydana","followers_url":"https://api.github.com/users/heydana/followers","following_url":"https://api.github.com/users/heydana/following{/other_user}","gists_url":"https://api.github.com/users/heydana/gists{/gist_id}","starred_url":"https://api.github.com/users/heydana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heydana/subscriptions","organizations_url":"https://api.github.com/users/heydana/orgs","repos_url":"https://api.github.com/users/heydana/repos","events_url":"https://api.github.com/users/heydana/events{/privacy}","received_events_url":"https://api.github.com/users/heydana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firebase/FirebaseUI-iOS/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"chaogoog","id":8204027,"avatar_url":"https://avatars.githubusercontent.com/u/8204027?v=3","gravatar_id":"","url":"https://api.github.com/users/chaogoog","html_url":"https://github.com/chaogoog","followers_url":"https://api.github.com/users/chaogoog/followers","following_url":"https://api.github.com/users/chaogoog/following{/other_user}","gists_url":"https://api.github.com/users/chaogoog/gists{/gist_id}","starred_url":"https://api.github.com/users/chaogoog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaogoog/subscriptions","organizations_url":"https://api.github.com/users/chaogoog/orgs","repos_url":"https://api.github.com/users/chaogoog/repos","events_url":"https://api.github.com/users/chaogoog/events{/privacy}","received_events_url":"https://api.github.com/users/chaogoog/received_events","type":"User","site_admin":false},"assignees":[{"login":"chaogoog","id":8204027,"avatar_url":"https://avatars.githubusercontent.com/u/8204027?v=3","gravatar_id":"","url":"https://api.github.com/users/chaogoog","html_url":"https://github.com/chaogoog","followers_url":"https://api.github.com/users/chaogoog/followers","following_url":"https://api.github.com/users/chaogoog/following{/other_user}","gists_url":"https://api.github.com/users/chaogoog/gists{/gist_id}","starred_url":"https://api.github.com/users/chaogoog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaogoog/subscriptions","organizations_url":"https://api.github.com/users/chaogoog/orgs","repos_url":"https://api.github.com/users/chaogoog/repos","events_url":"https://api.github.com/users/chaogoog/events{/privacy}","received_events_url":"https://api.github.com/users/chaogoog/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-07-12T04:24:07Z","updated_at":"2016-07-13T23:16:52Z","closed_at":null,"body":"After setting up FirebaseAuthUI for Facebook - adding the redirect URIs to my Facebook app login details, facebook app ID to the Info.plist - I'm able to get my simple test app to go through all the steps to authenticate Facebook, but upon completion no new user is created in the authentication database. The app will show up under permissions in my Facebook account, but no new user is created in Firebase. \r\n\r\nGoogle authentication and email/password authentication work as expected and correctly create a new user.\r\n\r\nThis is the function I use for my simple sign-in button:\r\n\r\n    @IBAction func signIn() {\r\n\r\n        let authUI = FIRAuthUI.authUI()!\r\n        let googleAuthUI = FIRGoogleAuthUI.init(clientID:FIRApp.defaultApp()!.options.clientID)\r\n        let facebookAuthUI = FIRFacebookAuthUI.init(appID: NSBundle.mainBundle().infoDictionary?[\"FacebookAppID\"] as! String)  \r\n        authUI.signInProviders = [googleAuthUI!, facebookAuthUI!]       \r\n        \r\n        let authViewController = FIRAuthUI.authUI()!.authViewController()        \r\n        self.presentViewController(authViewController, animated: true, completion: nil)\r\n\r\n    }\r\n\r\n(cross posted on: http://stackoverflow.com/questions/38317938/firebaseauthui-not-adding-new-facebook-user)"},"comment":{"url":"https://api.github.com/repos/firebase/FirebaseUI-iOS/issues/comments/232514266","html_url":"https://github.com/firebase/FirebaseUI-iOS/issues/83#issuecomment-232514266","issue_url":"https://api.github.com/repos/firebase/FirebaseUI-iOS/issues/83","id":232514266,"user":{"login":"heydana","id":6992884,"avatar_url":"https://avatars.githubusercontent.com/u/6992884?v=3","gravatar_id":"","url":"https://api.github.com/users/heydana","html_url":"https://github.com/heydana","followers_url":"https://api.github.com/users/heydana/followers","following_url":"https://api.github.com/users/heydana/following{/other_user}","gists_url":"https://api.github.com/users/heydana/gists{/gist_id}","starred_url":"https://api.github.com/users/heydana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heydana/subscriptions","organizations_url":"https://api.github.com/users/heydana/orgs","repos_url":"https://api.github.com/users/heydana/repos","events_url":"https://api.github.com/users/heydana/events{/privacy}","received_events_url":"https://api.github.com/users/heydana/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T23:16:52Z","updated_at":"2016-07-13T23:16:52Z","body":"Oops, thanks. Ok with delegate assigned, I'm getting a callback for all three providers, but still no Facebook account creation."}}
{"actor":{"display_login":"heydana"}}