Blog Posts for: Azure

Obtaining an Access Token from a GitHub Application Webhook

14 November 2017

When developing a Webhook for a GitHub application, you may want to make calls to the GitHub API. In order to do this you will need to have a Bearer token to authorize the calls. In a typical scenario, you would obtain a token as part of the user authorization flow, but when developing a webhook for a GitHub application things work a bit differently as there is no interactive user involved.