IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.
____tz_zs
IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.
一、方法一 使用token令牌进行身份验证(推荐)
相对于使用账号密码,token令牌是一种更安全的身份验证方式。
1、进入Github
的token
管理页面:https://github.com/settings/tokens
如下图可见,我之前在IDE
中使用账号密码登录的Github
时,插件帮我自动创建了多个token
。
2、点击Generate new token
创建新的token
注意创建token
时需勾选repo, gist, read:org, workflow
权限。
token只会在创建后展示一次,之后将无法看到,请注意及时复制保存。
3、登录时点击右上角Use Token
切换到token
认证
账号密码认证界面:
Token认证界面:
二、方法二 使用账号密码(不行了)
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/'
我们需要使用个人访问令牌 Personal access tokens (PATs)
代替原来的账号密码
的方式进行身份验证。
https://docs.github.com/cn/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
如下为成功使用示例:
****************:~$ git clone -c http.proxy="http://127.0.0.1:8123" https://github.com/*******/*******.git
Cloning into '*******'...
Username for 'https://github.com': *******@*******.com
Password for 'https://*******@*******.com@github.com':
remote: Enumerating objects: 31, done.
remote: Counting objects: 100% (31/31), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 31 (delta 14), reused 27 (delta 13), pack-reused 0
Unpacking objects: 100% (31/31), 6.00 KiB | 1024.00 KiB/s, done.
参考:
https://docs.github.com/cn/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
https://www.jetbrains.com/help/idea/github.html#register-account
IDE 中登录 Github 报错 Invalid authentication data. 404 Not Found-Not Found.相关推荐
- idea登录github 报错invalid authentication data
解决方法: 使用token登录 登录github网站:点击settings 点击 Generate new token,并全选 idea使用token登陆 使用git push 报错: OpenSSL ...
- 在IDEA中使用密码连接GitHub报错“lnvalid authentication data. 404 Not Found - NotFound“
异常 原因 没有授权. 解决 不使用密码进行登录,而是使用token进行登录. 在浏览器中登录GitHub,选择Settings 选择Developer settings 查看或创建token 回到I ...
- IDEA配置GitHub报错GitHub Invalid authentication data.404 Not Found-Not Found
登录账户`GitHub Invalid authentication data.404 Not Found-Not Found`报错及解决办法 1 登录自己的github账号-->头像---&g ...
- Pycharm、Idea登录GitHub报错,无法连接
Pycharm.Idea登录GitHub报错,无法连接 问题: 最近在使用pycharm上传代码到GitHub上时出现connect reset的问题,在删除pycharm中的GitHub账户再登录时 ...
- 解压bz2;kaggle(google人机验证);pycharm加上参数运行;no module named ‘torch_sparse;像这种在kaggle中运行程序报错—— invalid syn
https://jingyan.baidu.com/article/86fae3461437c53c48121a50.html 关于kaggle一些问题解决办法 - Y-flower - 博客园 Go ...
- idea使用GitHub踩过的坑——Invalid authentication data.404 Not Found-Not Found
在idea配置GitHub时,登录遇到 Invalid authentication data.404 Not Found-Not Found 的问题 笔者尝试了好多种方法都不行, 包括 file-& ...
- Python中调用FRED报错ValueError: time data 'fred' does not match format '%Y-%m-%d'
Python中调用FRED报错ValueError: time data 'fred' does not match format '%Y-%m-%d' 小白一枚,刚学习python调用FRED等数据 ...
- idea连接GitHub报错(invalid authentication data.404)
打开idea 首先点击settings-->>github-->>Use Token 之后打开github.com 点击settings 设置token并进行获取
- Navicat 远程连接docker容器中的mysql 报错1251 - Client does not support authentication protocol 解决办法
Navicat 远程连接docker容器中的mysql 报错1251 - Client does not support authentication protocol 解决办法 1).容器中登录my ...
最新文章
- 【linux】error: stdio.h: No such file or directory
- Linux内核主要由那几个部分组成?
- Python使用matplotlib画图,设置曲线颜色、类型及标记
- android getprop 分辨率,Android getprop 读取的属性哪里来的?
- 4.mysql数据库创建,表创建模等模板脚本,mysql_SQL99标准的连接查询(内连接,外连接,满外连接,交叉连接)
- Hadoop生态系统的详细介绍
- 2022百度职业资格考试培训行业洞察
- 打造一个实际的全系统污点分析系统--Towards Practical Taint Tracking
- mysql中递增列_如何使用JDBC在MySQL中创建带有自动递增列的表?
- win10下安装Ubuntu18.4双系统(适合小白)
- 转载:C#7.0新特性(VS2017可用)
- 创建你的第一个游戏Pong——概览
- windows浏览器访问虚拟机开的rabbitmq服务,无法访问
- vue-cli3安装遇到的问题,卸载不掉旧版本,导致更新不了
- 轻松处理PHP开发中微信emoji表情mysql存储的问题
- 基于微信小程序的教学辅导平台设计与实现
- 系统硬盘分区模式之GPT
- .php文件是病毒吗,php病毒
- 你好,你算什么东西?
- 第三次寻人启事,寻找在日本的朋友王君
热门文章
- PreferenceCategory背景颜色设置
- PL-VINS运行及问题解决
- VC(VS)的64位编程小结
- sword弹窗_刀剑神域夺命凶弹游戏问题解决方案汇总_刀剑神域夺命凶弹游戏出错怎么办_游戏堡...
- 厉害了!Spring Boot + Vue 开发移动端商城(附源码、文档、视频)!
- 关闭弹框事件_关于js关闭窗口的事件和用法
- css中的显示与隐藏
- 第四部分 单声道、立体声和环绕声
- 世界上的程序语言已经这么多了,为什么还不够?
- 精益数据分析 - 第3章 你把生命献给谁