{"action":"created","issue":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/4249","repository_url":"https://api.github.com/repos/ReactTraining/react-router","labels_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4249/labels{/name}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4249/comments","events_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4249/events","html_url":"https://github.com/ReactTraining/react-router/issues/4249","id":193526794,"number":4249,"title":"Do get request with content-type: text/html","user":{"login":"kol9n93","id":8199096,"avatar_url":"https://avatars.githubusercontent.com/u/8199096?v=3","gravatar_id":"","url":"https://api.github.com/users/kol9n93","html_url":"https://github.com/kol9n93","followers_url":"https://api.github.com/users/kol9n93/followers","following_url":"https://api.github.com/users/kol9n93/following{/other_user}","gists_url":"https://api.github.com/users/kol9n93/gists{/gist_id}","starred_url":"https://api.github.com/users/kol9n93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kol9n93/subscriptions","organizations_url":"https://api.github.com/users/kol9n93/orgs","repos_url":"https://api.github.com/users/kol9n93/repos","events_url":"https://api.github.com/users/kol9n93/events{/privacy}","received_events_url":"https://api.github.com/users/kol9n93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-05T15:24:06Z","updated_at":"2016-12-05T18:15:46Z","closed_at":"2016-12-05T17:51:26Z","body":"Hello. I implemented react-router in my application. But also I wanna integrate passport-saml in my app.\r\nI'm trying to do the following using express router:\r\n```\r\nrouter.get('/login',\r\n  passport.authenticate(config.passport.strategy, {\r\n    successRedirect: applicationUrl,\r\n    failureRedirect: applicationUrl+ '/login'\r\n  })\r\n);\r\n```\r\nThis route should redirect user to SAML login page. But that '/login' handler is dead code, because react router handles that request and says something like \"route /login didn't match any routes\".\r\nIs there some workaround to allow to do GET request with content-type: text/html? I wanna do request to the server directly."},"comment":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/comments/264931577","html_url":"https://github.com/ReactTraining/react-router/issues/4249#issuecomment-264931577","issue_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4249","id":264931577,"user":{"login":"kol9n93","id":8199096,"avatar_url":"https://avatars.githubusercontent.com/u/8199096?v=3","gravatar_id":"","url":"https://api.github.com/users/kol9n93","html_url":"https://github.com/kol9n93","followers_url":"https://api.github.com/users/kol9n93/followers","following_url":"https://api.github.com/users/kol9n93/following{/other_user}","gists_url":"https://api.github.com/users/kol9n93/gists{/gist_id}","starred_url":"https://api.github.com/users/kol9n93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kol9n93/subscriptions","organizations_url":"https://api.github.com/users/kol9n93/orgs","repos_url":"https://api.github.com/users/kol9n93/repos","events_url":"https://api.github.com/users/kol9n93/events{/privacy}","received_events_url":"https://api.github.com/users/kol9n93/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T18:15:46Z","updated_at":"2016-12-05T18:15:46Z","body":"But react-router is on client side. Router.get is on server side"}}
{"actor":{"display_login":"kol9n93"}}