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" <[email protected]>
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, [email protected], [email protected])) 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

Reply via email to