Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[bug]登录微软账户时浏览器登录不弹出 #40

Closed
BlockyDeer opened this issue Oct 29, 2023 · 7 comments
Closed

[bug]登录微软账户时浏览器登录不弹出 #40

BlockyDeer opened this issue Oct 29, 2023 · 7 comments

Comments

@BlockyDeer
Copy link

登录微软账户时浏览器登录不弹出,或者说,浏览器毫无反应

系统信息

d86007eac1fef897764bbd0b23ba141a

出现bug时的输出

{2435-x-139915169467}(1)

浏览器信息

7ea8dcb5-649c-40b1-ac10-ca9e22821480(1)

@MrShieh-X
Copy link
Owner

正常来说可以转跳到浏览器的,可能是对于默认浏览器的设置有问题

@BlockyDeer
Copy link
Author

能不能让cmcl在登陆微软时试图跳转浏览器的同时在终端显示登录链接和授权码(是这么叫吗),这样跳转失败还能手动登录
现在是根本无法登录

@MrShieh-X
Copy link
Owner

可以,但不是今天,这个功能到时候我再更新,现在先给你临时解决方案:
登录时,手动在浏览器进入这个网站:

https://#.live.com/oauth20_authorize.srf?client_id=288ec5dd-6736-4d4b-9b96-30e083a8cad2&response_type=code&scope=XboxLive.signin+offline_access&prompt=select_account&redirect_uri=http%3A%2F%2Flocalhost%3A<端口>%2Fauthentication-response

其中,<端口>需要替换成29116到29126之间的11个数字(从29116开始)

@BlockyDeer
Copy link
Author

11个端口号使用哪一个都可以吗?还是只有一个可以,需要一个一个试?

@MrShieh-X
Copy link
Owner

先试一下29116,不行的话就+1,就是29117,还是不行就29118,这样递归下去。29116通常都可以的

@BlockyDeer
Copy link
Author

好的

@MrShieh-X
Copy link
Owner

为防止无法跳转至浏览器,在v2.2.2中,每次登录微软账号都会显示链接供用户复制至浏览器打开

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants