jaredhanson/passport-github — pull request #6 by genbit (2013-04-24 15:48:26+00:00)
Title: Add header "User-Agent" and retrieve verified email from github

Github add requirement, that all requests should contain user-agent header. Also Github API returns Public email, which can be empty and not verified.

This pull request do the following:
— add User-Agent header
— Make one extra API call /user/emails to retrieve valid email