froger-me / wp-packages-update-server

WP Packages Update Server - Run Your Own Update Server for Plugins and Themes
GNU General Public License v3.0
141 stars 39 forks source link

Fix : Deprecating Github API authentication through query parameters, should send the token in the header #30

Closed github-dixit closed 2 years ago

github-dixit commented 2 years ago

The Github API has changed its authentication policy in 2021. The access_token must now be in the header and not in the URL.
See the blog post about this issue : == > https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/

By accepting this pull request, the Github integration in the plugin will be functional again. I just don't guarantee in this commit that the entire evolution to the new Github API policy is handled, it just works fine !

froger-me commented 2 years ago

Thanks for the contribution!