When arco login or arco env --switch on a remote machine, the post-login redirection to http://localhost:3333/login_result is impossible to succeed since arco login is listening on a remote devbox instead of localhost.
额外补充
Suggested solution: Grab all IP addresses of the os and prompt user with selection or manual input
Basic Info
https://github.com/arco-design/arco-cli/blob/main/packages/arco-cli-auth/src/login.ts#L66
现有案例
N/A
预期解决问题
When
arco login
orarco env --switch
on a remote machine, the post-login redirection to http://localhost:3333/login_result is impossible to succeed sincearco login
is listening on a remote devbox instead of localhost.额外补充
Suggested solution: Grab all IP addresses of the os and prompt user with selection or manual input