{"action":"reopened","issue":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/705","labels_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/705/comments","events_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/705/events","html_url":"https://github.com/BrowserSync/browser-sync/issues/705","id":92479942,"number":705,"title":"How do I use browser-sync in conjunction with OAuth App ?","user":{"login":"mfbx9da4","id":1690659,"avatar_url":"https://avatars.githubusercontent.com/u/1690659?v=3","gravatar_id":"","url":"https://api.github.com/users/mfbx9da4","html_url":"https://github.com/mfbx9da4","followers_url":"https://api.github.com/users/mfbx9da4/followers","following_url":"https://api.github.com/users/mfbx9da4/following{/other_user}","gists_url":"https://api.github.com/users/mfbx9da4/gists{/gist_id}","starred_url":"https://api.github.com/users/mfbx9da4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfbx9da4/subscriptions","organizations_url":"https://api.github.com/users/mfbx9da4/orgs","repos_url":"https://api.github.com/users/mfbx9da4/repos","events_url":"https://api.github.com/users/mfbx9da4/events{/privacy}","received_events_url":"https://api.github.com/users/mfbx9da4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-01T20:36:53Z","updated_at":"2015-07-09T08:11:31Z","closed_at":null,"body":"In my case I have a rails app which uses facebook oauth. I run the app in development by running the app on port 80 and pointing my hosts of my `my-website.com` to `localhost`. This allows me to authenticate users locally etc. Using gulp and browsersync I tried setting up a proxy with \r\n```js\r\nproxy: 'my-webite.com'\r\n```\r\nWhich runs browsersync on `localhost:3000`. However, upon logging in I am redirected back to `my-website.com` and the browsersync url `localhost:3000` remains in another session and is unable to \"login\" to my app.\r\n\r\nAny suggestions?\r\n\r\n(Also tried running my app on port 8000 and browser sync on port 80, however facebook login redirected me to localhost:8000/callback which is not a valid redirect URI).\r\n"}}