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

解决风控设备上 KeyError: 'userId' login 的方法 #469

Open
nongwoluanlai opened this issue Apr 9, 2024 · 2 comments
Open

解决风控设备上 KeyError: 'userId' login 的方法 #469

nongwoluanlai opened this issue Apr 9, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@nongwoluanlai
Copy link

image

拿到类似这样的输出
{'notificationUrl': '/identity/authStart?sid=xiaomiio&context=wDILiZe6yVI_DvJbvAz_F4_8LXyuoTar-odx0H0FyIvaYXRxxxxx9BUuGPfyyRhogXWOwxxxxxxZNajJd0mnxxxxxx1ZptsXnXBxxxxxxfSmV_mQnew3i-tofXCVQ_P80fJ4xxf20Bl-t95zHZeqYeuDxxrGYxT2mxxOkQZQSxxAJTYjy-sg6WpVkH8AaGexxxxxxxNMXrvjWjWCfTfY9ipdTMWa0_UgmbFSUJmOX-Exxxxs5b_C4IBXHkIR1sk-EAC3ZDeawj_o5Zg&_locale=zh_CN', 'result': 'ok', 'code': 0, 'captchaUrl': None, 'description': '成功', 'location': '', 'securityStatus': 16, 'pwd': 0, 'child': 0, 'desc': '成功'}
复制notificationUrl拼接上https://account.xiaomi.com/pass/serviceLoginAuth2
得到:
https://account.xiaomi.com/pass/serviceLoginAuth2/identity/authStart?sid=xiaomiio&context=xxxxxx
这样的链接,复制到你的浏览器上打开即可手机短信等验证,验证通过后再次使用即可正常

@yihong0618
Copy link
Owner

谢谢

@yihong0618 yihong0618 added the documentation Improvements or additions to documentation label Apr 20, 2024
@MrThorOdinson
Copy link

拼接后是404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants