Fixed For authorization via Github, beta is used

kick

Well-known member
Affected version
2.2.5 and earlier
The previously used beta API has become stable and declared as v3. Using beta will return unexpected results that are not in sync with the API
PHP:
/**
     * Required for GitHub API calls.
     *
     * @return array
     */
    protected function getExtraApiHeaders()
    {
        return array('Accept' => 'application/vnd.github.beta+json');
    }
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.6).

Change log:
Replace Accept header to use official v3 of GitHub API for connected account requests rather than its beta.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom