首页 > 其他分享 >IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.

IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.

时间:2023-06-02 11:06:42浏览次数:41  
标签:Github 登录 token 报错 https Found IDE 账号密码


IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.

IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found._git

 

一、方法一 使用token令牌进行身份验证(推荐)
相对于使用账号密码,token令牌是一种更安全的身份验证方式。
1、进入Github的token管理页面:https://github.com/settings/tokens
如下图可见,我之前在IDE中使用账号密码登录的Github时,插件帮我自动创建了多个token。
 

IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found._github_02

 

 

2、点击Generate new token 创建新的token
注意创建token时需勾选repo, gist, read:org, workflow权限。
token只会在创建后展示一次,之后将无法看到,请注意及时复制保存。

3、登录时点击右上角Use Token切换到token认证
账号密码认证界面:
 

IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found._github_03

 

Token认证界面:

IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found._身份验证_04

二、方法二 使用账号密码(不行了)

The password is not saved and is only used to generate a Github token. 以往,其实是 IDE 会帮你创建 token。如今已经失效了,也就是本文所遇到的问题。

 

三、补充:命令行 fatal: Authentication failed for ‘https://github.com//.git/’
从 2021 年 8 月 13 日起,不能使用账号密码登录认证,而是需要使用个人访问令牌 Personal access tokens (PATs) 登录认证。
 

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/*******/*******.git/'

IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found._身份验证_05

IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found._github_06

 


标签:Github,登录,token,报错,https,Found,IDE,账号密码
From: https://blog.51cto.com/u_15975228/6400722

相关文章

  • 【python】Python报错:RecursionError: maximum recursion depth exceeded in comparis
    问题描述今天测试程序的时候报错了RecursionError:maximumrecursiondepthexceeded通过查阅资料发现原因是查询过相关文档和资料后才发现了问题原因,python的递归深度是有限制的,默认为1000。当递归深度超过1000时,就会报错。解决方案可以将递归的深度修改的大一些,即可解决......
  • window10子系统下 libuv clone本地编译提示./autogen.sh: aclocal: not found错误
    libuv文档https://docs.libuv.org/en/v1.x/guide/introduction.htmlCodeAlltheexamplecodeandthesourceofthebookisincludedaspartofthelibuvprojectonGitHub.CloneorDownloadlibuv,thenbuildit:shautogen.sh./configuremakeThereisnoneed......
  • 使用kalibr做相机内参标定时,报错:“ImportError: No module named igraph”
    这是因为电脑没有安装python的igraph库,所以需要安装igraph库。1.sudoapt-getinstall-ylibigraph0-dev 2.pipinstallpython-igraph==0.7.1.post6(python2只支持0.8X以前的版本)安装完毕,执行kalibr相机内参标定命令即可。 ......
  • pycharm 运行pytest的先决条件 不然会报no tests were found
    问题描述:在跑代码的时候报错pycharm运行pytest的先决条件不然会报notestswerefound,查了一下说py文件命名以test开头会导致pycharm默认以pytest模式运行,大伙可以先试一下,但是我这边程序命名也不是这种情况,修改了程序名也没有好。解决方案:1. 解决方法,.py文件的文件名要以te......
  • 阿里Druid数据源,程序启动或日志记录报错 load filter error, filter not found : logb
      Druid支持配置多种Filter,配置信息保存在druid-xxx.jar!/META-INF/druid-filter.properties下面,具体如下:druid.filters.default=com.alibaba.druid.filter.stat.StatFilterdruid.filters.stat=com.alibaba.druid.filter.stat.StatFilterdruid.filters.mergeStat=com.a......
  • 禁止运行脚本的报错怎么处理
       windows下运行*.ps1脚本(powershell的脚本)的时候,需要设置执行权限执行set-ExecutionPolicyRemoteSigned ......
  • nethunter终端进入KALI时报错问题
    在我的设备安装Nethunter成功后,使用NetHunter内置的连接终端工具连接时报了一个这样的错误zsh:failedtoloadmodule`zsh/zle':/usr/lib/aarch64-linux-gnu/zsh/5.9/zsh/zle.so:cannotopensharedobjectfile:Nosuchfileordirectorykali#使用SSH连接也是一样的错......
  • Jenkins集成sonarqube报错
    报错1SONARANALYSISFAILED------------------------------------------------------------------------FATAL:SonarQubeScannerexecutablewasnotfoundforsonarscannerERROR:SonarQubeScannerexecutablewasnotfoundforsonarscannerFinished:FAILURE说明......
  • java.lang.ClassNotFoundException: weblogic.utils.NestedException
    我单元测试的时候报这种错误Causedby:java.lang.ClassNotFoundException:weblogic.utils.NestedException atjava.net.URLClassLoader$1.run(URLClassLoader.java:202) atjava.security.AccessController.doPrivileged(NativeMethod) atjava.net.URLClassLoader.findC......
  • tar 命令压缩时报错 Removing leading `/' from member names 解决方法
    原文:https://www.cnblogs.com/operationhome/p/9802554.html在使用tar命令进行压缩打包的时候我们常常会遇到下面的错误。虽然它不会影响我们最后的压缩打包,但是间接说明了我们的命令是有问题的。接下来我们来看看解决的方法。报错内容报错内容:$tar-zcvf/home/shenweiyan......