I run claude terminal tool on a Debian instance that runs via the WSL on Windows host.
When I run
claude
/claude login
I only see:
Login
Browser didn't open? Use the url below to sign in (c to copy)
https://claude.com/cai/oauth/authorize?code=true&client_id={LOGIN_DATA}
it does not open the browser on Windows’ host, but I see a link that I need to copy paste to manually open in a browser. I then need to copy paste the token to fianlize the login via enter.
How to open get claude to open the Window’s host browser directly as this process get tiresome when handling multiple logins.