title: Airbnb Rendr RESTful API authentication
body: <p>I've been playing around with <a href="https://github.com/airbnb/rendr" rel="nofollow">AirBnb's Rendr</a> using the <a href="https://github.com/airbnb/rendr-app-template" rel="nofollow">app template</a> they provided on GitHub.</p>
  
  <p>In their example they connect to a RESTful API using HTTP Basic Auth. However in their code they provide the credentials for authentication directly on server startup like so:</p>
  
  <pre><code>$ BASIC_AUTH=githubusername:githubpassword grunt server
  </code></pre>
  
  <p>Now I'm asking myself if and how I can make this more dynamic, i.e. using the credentials a user has provided on the login of my client application or even use a different authentication schema, like OAuth for example?</p>
  
  <p>Is this possible? Can someone provide an example?</p>