Ardakilic / alerthub

AlertHub is a simple tool written with NodeJS to get alerted from new GitHub and GitLab repository events.
MIT License
194 stars 12 forks source link

Deprecated method of passing the token to Github #80

Open svenwanzenried opened 8 months ago

svenwanzenried commented 8 months ago

By end of 2019 Github announced that they would deprecate the possibility to pass an access token as query parameter in the URL. https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters It seems to me (from error messages) that alerthub is trying to do exactly that and is therefore not working.

Please consider changing the mechanism so the token gets passed as HTTP Authorization header: 'token $token'