GIthub邮件轰炸:Please use Basic Authentication instead as using OAuth credentials in query parameters ha

文章目录

背景

自己之前将gittalk用到了自己的博客中,最近github总是对我进行邮件轰炸,准确的是一月十几号开始的,一天好几封,一直嫌麻烦没有去解决

Hi @dataiyangu,

On February 18th, 2020 at 00:58 (UTC) your application (blog) used its `client_id` and `client_secret` (with the User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36) as part of a set of query parameters to access an endpoint through the GitHub API:

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

在这里插入图片描述

解决

之前在 外面 查到这是github的一个bug,我索性把gitbhub的邮箱地址拉黑了,拒收,等到他修复好了再次打开,但是有一次需要收github的验证码,又不得不开开了,真实折腾死我了。

今天又发了一封,我终于忍无可忍了。
通过https://blog.csdn.net/COCO56/article/details/104215555这边文章,得知,需要将文章中的评论进行初始化,如果我没有记错的话,gittalk的初始化方法,就是在自己的博客中登录上github账号,然后访问没有初始化的文章,就初始化了。比较简陋的方法就是登录上github账号,依次访问下自己的文章。不知道能不能成功,先试试。

没有初始化之前是这样的
在这里插入图片描述
点击上面的使用github登录,然后刷新页面,进而访问其他的页面。

发布了524 篇原创文章 · 获赞 2266 · 访问量 215万+

猜你喜欢

转载自blog.csdn.net/dataiyangu/article/details/104369258
今日推荐