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

下载你的app,运行登录的时候,报错返回422! #424

Closed
ZLdeSpirit opened this issue May 31, 2019 · 10 comments
Closed

下载你的app,运行登录的时候,报错返回422! #424

ZLdeSpirit opened this issue May 31, 2019 · 10 comments

Comments

@ZLdeSpirit
Copy link

No description provided.

@CarGuo
Copy link
Owner

CarGuo commented May 31, 2019

登陆失败??请用 github 账号名登陆,比如账号 ZLdeSpirit ,密码 xxxxx,请勿用邮箱

#13

@ZLdeSpirit
Copy link
Author

是的,我确实使用的账号登录的,并非使用邮箱登录,之前使用你的app登录成功了的,之后使用就失败了!谢谢

@ZLdeSpirit
Copy link
Author

返回信息:
请求url:https://api.github.com/authorizations
I/flutter (32221): 请求头: {Authorization: Basic WkxkZVNwaXJpdDppY2UuemwxMTAuQC4uQA==}
I/flutter (32221): 请求参数: {"scopes":["user","repo","gist","notifications"],"note":"admin_script"}
I/flutter (32221): 请求异常: DioError [DioErrorType.RESPONSE]: Http status error [422]
I/flutter (32221): 请求异常信息: {"message":"Validation Failed","errors":[{"resource":"OauthAccess","code":"already_exists","field":"note"}],"documentation_url":"https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization"}

@CarGuo
Copy link
Owner

CarGuo commented May 31, 2019

账号没有开启两步认证吧?没有的话应该没问题啊,这么奇怪···有试过其他账号吗?

@ZLdeSpirit
Copy link
Author

没有试过其它账号,我只有这一个账号,我再看看吧!

@CarGuo
Copy link
Owner

CarGuo commented May 31, 2019

这么奇怪,我刚刚试了登陆了几次都听正常的,对了,如果没有 开启两步认证 的话,你先试试手机上打开github登陆网页能不能正常,有时候也有dns导致的问题之类的。

@ZLdeSpirit
Copy link
Author

好的,我先试试登录网页是否正常,对了,您能说说两步认证嘛?

@CarGuo
Copy link
Owner

CarGuo commented May 31, 2019

就是github 通过手机号做验证码之后才能登陆,因为之前我测试的时候没有中国的区号,加不了验证码·····

@CarGuo
Copy link
Owner

CarGuo commented May 31, 2019

我刚刚更新了 apk ,1.5.0的版本,你也重新下载个看看

@ZLdeSpirit
Copy link
Author

好的,我先试试,我刚刚使用浏览器登录是能够正常登录的!

@CarGuo CarGuo closed this as completed Jun 4, 2019
@jayVRIY jayVRIY mentioned this issue Dec 8, 2022
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