{"action":"created","issue":{"url":"https://api.github.com/repos/siegesmund/SwiftDDP/issues/65","repository_url":"https://api.github.com/repos/siegesmund/SwiftDDP","labels_url":"https://api.github.com/repos/siegesmund/SwiftDDP/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/siegesmund/SwiftDDP/issues/65/comments","events_url":"https://api.github.com/repos/siegesmund/SwiftDDP/issues/65/events","html_url":"https://github.com/siegesmund/SwiftDDP/issues/65","id":169783070,"number":65,"title":"Can't login with facebook ","user":{"login":"DevJS","id":360209,"avatar_url":"https://avatars.githubusercontent.com/u/360209?v=3","gravatar_id":"","url":"https://api.github.com/users/DevJS","html_url":"https://github.com/DevJS","followers_url":"https://api.github.com/users/DevJS/followers","following_url":"https://api.github.com/users/DevJS/following{/other_user}","gists_url":"https://api.github.com/users/DevJS/gists{/gist_id}","starred_url":"https://api.github.com/users/DevJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevJS/subscriptions","organizations_url":"https://api.github.com/users/DevJS/orgs","repos_url":"https://api.github.com/users/DevJS/repos","events_url":"https://api.github.com/users/DevJS/events{/privacy}","received_events_url":"https://api.github.com/users/DevJS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-07T06:44:27Z","updated_at":"2016-08-07T11:33:02Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm trying to use SwiftDDP with my Meteor installation but I am encountering some issues with the social authentication.\r\n\r\nHere is what I did so far:\r\n\r\n1. Install `accounts-facebook` & `social configuration` to setup facebook login on my website. I also used accounts-ui (you should specify in your README that it is required to easily setup social logins) to setup my social login. I configured my facebook login using \"redirect\" auth. \r\n\r\n2. Try to login on my website using facebook. Works perfectly.\r\n\r\n3. I created a new tab bar application using Xcode and added SwiftDDP to my project using cocoapods. I added some code on my AppDelegate and then created an IBAction that launch the login process:\r\n\r\n**AppDelegate.swift**\r\n\r\n```\r\nMeteor.client.logLevel = .Verbosee\r\nMeteor.connect(\"ws://localhost:3000/websocket\") { }\r\n```\r\n\r\n**FirstViewController.swift**\r\n\r\n```Meteor.loginWithFacebook(\"FACEBOOK_APP_ID\", viewController: self)```\r\n\r\nBut I get some problems with the `MeteorOAuthController`.\r\n\r\nA. If I delete the app from the simulator and clean the project, then run the project again, it loads correctly the facebook login page. But when I click the blue login button on the facebook page, nothing happens. It just loads indefinitely, but stays on the facebook page.\r\n\r\nB. If I close the `MeteorOAuthController` and then open it again, the facebook page is not loaded, I just get a simple blank page with nothing on it.\r\n\r\nAny idea about what is causing this problem ?\r\n\r\nThank you,\r\nDevJS"},"comment":{"url":"https://api.github.com/repos/siegesmund/SwiftDDP/issues/comments/238077421","html_url":"https://github.com/siegesmund/SwiftDDP/issues/65#issuecomment-238077421","issue_url":"https://api.github.com/repos/siegesmund/SwiftDDP/issues/65","id":238077421,"user":{"login":"siegesmund","id":2533531,"avatar_url":"https://avatars.githubusercontent.com/u/2533531?v=3","gravatar_id":"","url":"https://api.github.com/users/siegesmund","html_url":"https://github.com/siegesmund","followers_url":"https://api.github.com/users/siegesmund/followers","following_url":"https://api.github.com/users/siegesmund/following{/other_user}","gists_url":"https://api.github.com/users/siegesmund/gists{/gist_id}","starred_url":"https://api.github.com/users/siegesmund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siegesmund/subscriptions","organizations_url":"https://api.github.com/users/siegesmund/orgs","repos_url":"https://api.github.com/users/siegesmund/repos","events_url":"https://api.github.com/users/siegesmund/events{/privacy}","received_events_url":"https://api.github.com/users/siegesmund/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T11:33:02Z","updated_at":"2016-08-07T11:33:02Z","body":"There are a lot of moving parts to this. Could you provide a working example that I can build and run? "}}
{"actor":{"display_login":"siegesmund"}}