DemocraciaEnRed/app — pull request #6 by tilgovi (2013-05-05 17:14:48+00:00)
Title: only load configured auth strategies

In the Partido De La Red session at TransparencyCamp just now I learned about the platform you are building.

The first thing I ran into when cloning and running locally was that removing Facebook from the config causes exception on start.

It should be possible to use only some auth providers. For testing, it's particularly convenient to have username/password and not need keys for social networks.

This is not quite ready to merge. It still shows the FB login in the top right corner. I'm not familiar enough with express or jade to know how to get information on configured strategies for making a conditional in the layout template.
With a little guidance on this, I'll finish up this PR.