Fwd: [GitHub API] Deprecation notice for authentication via URL query parameters
| From: | Johannes Schlüter | Date: | Tue, 06 Apr 2021 08:36:11 +0000 |
| Subject: | Fwd: [GitHub API] Deprecation notice for authentication via URL query parameters | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-29187@lists.php.net to get a copy of this message | ||
Hi,
could anybody adapt https://github.com/php/web-master/blob/main/manage/github.php
to send auth token via header? (See below)
For testing you either have to be admin in the PHP GitHub group or change the code to use some other
organisation.
Thanks,
johannes
-------- Original Message --------
From: "php.net" <noreply@github.com>
Sent: April 6, 2021 8:03:37 AM GMT+02:00
Subject: [GitHub API] Deprecation notice for authentication via URL query parameters
Hello there!
On April 6th, 2021 at 06:03 (UTC) your application (php.net git repository management) used an
access token (with the User-Agent php.net repository management (main.php.net, systems@php.net,
johannes@php.net)) as part of a query parameter to access an endpoint through the GitHub API.
https://api.github.com/user
Please use the Authorization HTTP header instead as using the
access_token query
parameter is deprecated.
Depending on your API usage, we'll be sending you this email reminder on a monthly basis.
Visit https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param
for more information about suggested workarounds and removal dates.
Thanks,
The GitHub Team