Khaaz / Discord-GitHook

Lightweight API that routes github and gitlab webhook requests to Discord
MIT License
9 stars 2 forks source link

refactor/fix: Security update #25

Closed Khaaz closed 4 years ago

Khaaz commented 4 years ago

Included in this PR:

This PR add support for per network auth. It also fix all auth routes to make sure auth works correctly. Important to note: Gitlab doesn't encode the auth token, while github does.

With this PR you can have specific network auth token. Or you can use the default one. Specificying the auth to an empty string disable auth check for this network