When I tried to use near CLI command near login. I got the following msg (showing in the attached picture) before I can approve access from wallet.testnet.near.org
When I tried to use near CLI command near login. I got the following msg (showing in the attached picture) before I can approve access from wallet.testnet.near.org
I looked into the near-cli source code and found that there was a callback using port 5000. My Mac (Monterey 12.3.1) was using port 5000 already, which I couldn't kill off and which in turn led me to a quick Google search. All the articles basically say this:
Did so, and now I'm able to use near login successfully.