Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: deprecation on Gitalk: use Basic Authentication instead of OAuth #501

Open
wants to merge 1 commit into
base: card
Choose a base branch
from

Conversation

razertory
Copy link

根据 github-api 的(最新文档 )[https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param],gitalk 目前需要替换为 Basic Auth。目前用 OAuth 配置的 gitalk 已经陆陆续续收到了邮件

Hi @razertory,

On February 22nd, 2020 at 10:32 (UTC) your application (razertory's blog) used its `client_id` and `client_secret` (with the User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/79.0.3945.120 Safari/537.36) as part of a set of query parameters to access an endpoint through the GitHub API:

https://api.github.com/repositories/189442197/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 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

目前已亲测用如下的改动可以修复这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant