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

[bug solution] Error 422 solution #263

Closed
ufolux opened this issue Feb 1, 2019 · 5 comments
Closed

[bug solution] Error 422 solution #263

ufolux opened this issue Feb 1, 2019 · 5 comments

Comments

@ufolux
Copy link
Contributor

ufolux commented Feb 1, 2019

When I try to login, the github api throw a exception code 422 and I find this answer can be a solution to this problem.

@ufolux
Copy link
Contributor Author

ufolux commented Feb 1, 2019

I create a pull request #264, please check and merge it.

@qfdk
Copy link

qfdk commented Feb 4, 2019

遇到同样的问题。
#264 解决了 此问题,希望原作者merge。
新年快乐 !

@CarGuo
Copy link
Owner

CarGuo commented Feb 11, 2019

merge

@CarGuo CarGuo closed this as completed Feb 11, 2019
@CarGuo
Copy link
Owner

CarGuo commented Feb 14, 2019

@qfdk 其实并没有解决,因为get方法调用授权接口并没有返回token,也并没有存在本地,请求时用的是由账号密码组合生成的授权码,这时候按照程序逻辑,每次启动会因为读取不到本地token,每次都进去登录界面。

@CarGuo
Copy link
Owner

CarGuo commented Feb 14, 2019

@ufolux

Because the Get method call authorization interface does not return token and does not save token locally.

the request is made with the authorization code generated by the combination of account and passwords.

At this time, according to the program logic, every time start app will enter the login page because the local token can not be read.

@CarGuo CarGuo mentioned this issue Nov 21, 2019
@w497763094 w497763094 mentioned this issue Mar 10, 2020
@JevonShi JevonShi mentioned this issue Mar 10, 2020
@HaobinXu HaobinXu mentioned this issue Mar 20, 2020
@luan823230 luan823230 mentioned this issue Mar 24, 2020
@hzg1105 hzg1105 mentioned this issue Jun 14, 2020
@wangkr wangkr mentioned this issue Jul 4, 2020
@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

3 participants