Tuesday, October 22, 2013

Using 'email' instead of 'username' in Passport.js

Just spent ah hour debugging why Passport.js would not forward my login request to the LocalStrategy. After putting some logs inside the strategy itself I have realized that it expect to see a 'username' field in the form, while I was sending an 'email'. Better answer (not mine) with code example here.

Friday, February 8, 2013

Good examples of Open Government implementation

It is not easy to come by really good implementations of systems for Open Government. For those who speak Russian, here is a really good example. It seems to be frozen at the moment but the idea and the implementation are very nice.

http://veche.duma.gov.ru