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

登录返回401,Unauthorized #49

Closed
vscode-as opened this issue Nov 20, 2020 · 2 comments
Closed

登录返回401,Unauthorized #49

vscode-as opened this issue Nov 20, 2020 · 2 comments

Comments

@vscode-as
Copy link

1、已参考README,注册OAuth Application,并在根目录的local.properties文件中填写CLIENT_ID 、CLIENT_SECRET
2、输入有效的github账号密码,登录失败,提示:network failure
3、断点返回错误信息如下:
Response{protocol=http/1.1, code=401, message=Unauthorized, url=https://api.github.com/authorizations}

@qingmei2
Copy link
Owner

qingmei2 commented Nov 23, 2020

是Github登录API升级了,需要升级下版本,这两天我迁移下

{
"message": "Bad credentials. The API can't be accessed using username/password authentication. Please create a personal access token to access this endpoint: http://github.com/settings/tokens",
"documentation_url": "https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line"
}

@qingmei2
Copy link
Owner

已修复,请更新最新的代码

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

No branches or pull requests

2 participants