【解决】[GitHub API] Deprecation notice for authentication via URL query parameters

文章目录

1. 按

最近老是收到邮件,提示:

Hi @cocos56,

On February 7th, 2020 at 12:22 (UTC) your application (My Page) used its client_id and client_secret (with the User-Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 OPR/60.0.3255.170 (Edition Campaign 34)) as part of a set of query parameters to access an endpoint through the GitHub API:

https://api.github.com/repositories/219086209/issues

Please use Basic Authentication instead as using OAuth credentials in query parameters has been deprecated.

Depending on your API usage, we’ll be sending you this email reminder at most once every 3 days.
Just one URL that was accessed with a User-Agent combination will be listed in the email reminder, not all.

Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.

Thanks,
The GitHub Team

出现此问题主要是由于使用了gitalk当作我博客的评论系统后,某些文章评论未成功初始化。
如:我的HFS(HTTP File System)服务器这篇文章,成功初始化之后会显示评论数,若未成功初始化,这里的评论数将会一直处于加载状态。
【解决】[GitHub API] Deprecation notice for authentication via URL query parameters

2. 解决方案

请使用已登录相应GitHub账号的浏览器访问未成功初始化的页面。