Commit Graph

9 Commits

Author SHA1 Message Date
Florian Gilcher
81ece8072f Make Github name optional
The github API returns no name field if the user has given none (and
only goes by their user handle). For that reason, make the name field
optional.
2014-09-18 11:40:12 +02:00
Florian Gilcher
3eeae3293d Expose auth2GithubScoped
Expose auth2GithubScoped, allowing users to set the scopes themselves.
2014-09-17 22:31:39 +02:00
patrick brisbin
eb5f9488f8
Address compiler warnings
- user was defined by never used in the no mails case
- The result of apDispatch is discarded
2014-09-13 16:45:36 -04:00
Freiric Barral
8046f4d8cc hardcode the scope to user:email (if more info is needed the code will anyway have to be changed to include more queries) 2014-08-31 23:11:41 +02:00
Freiric Barral
a992fdb6fa fetch github email in a second query to https://api.github.com/user/emails (the query to https://api.github.com/user return a null in the email field) 2014-08-31 23:11:41 +02:00
Freiric Barral
4fdd311d4b correct typo in the authentication query to github 2014-08-31 23:11:36 +02:00
Freiric Barral
d6fe3090d7 remove redundant bracket 2014-08-29 21:04:45 +02:00
Freiric Barral
165713c350 use tls manager argument in fetchGithubProfile (introduced in 'Version upgrade (hoauth2 0.4.1)'.) 2014-08-29 21:04:21 +02:00
Calen Pennington
7c002e167c Add a github OAuth2 provider 2014-08-29 20:57:39 +02:00