title: PassportJS - login credentials in GET request?
body: <p>I'm working on a RESTful web application. I would like to have user <strong>registration</strong> occur via a <strong>POST</strong> request (username and password in the request body), and user <strong>login</strong> via a <strong>GET</strong> request (username and password in the query).</p>
  
  <p>The <a href="http://passportjs.org/guide/username-password/" rel="nofollow">PassportJS documentation</a> seems to show that Passport expects credentials to be in the request body (which it parses). I don't quite understand how it would work with GET requests, since they don't have bodies (typically, if I understand correctly).</p>
  
  <p>How would I make this work? Is this a bad idea? If it is, is there a RESTful alternative?</p>