Create webhook to track issue of other's repository

In github I think I can do so implementing oauth.Does the same goes for gitlab? .Any other good alternative.