Provides authentication for DerbyJS projects

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.

  • 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.