derby-auth

Provides authentication for DerbyJS projects

Usage no npm install needed!

<script type="module">
  import derbyAuth from 'https://cdn.skypack.dev/derby-auth';
</script>

README

Derby.js Authentication

Provides authentication middleware (using Everyauth) for use in your Derby projects. Currently only supports Facebook integration, but more integration is on the way. Please do scratch your own itch with other Everyauth implementations and provide pull requests. See Everyauth's sample code for details. For usage details, see lefnire/derby-examples/authentication; specifically, server/index.js.

Caveats

  • Keys are set as environment variables (~/.profile) instead of a conf file for security-sake - it's how sensitive variables are accessed on PaaS providers such as Heroku.
  • Password authentication may prove difficult. See this issue for details, but the gist is derby-auth may be moving to Passport in the near future.