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
1 Answer
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.
.near-credentials
files, re-installednear-cli
and tried to generate my own key locally to no avail. I have others on my team that had no problem, though, using this link: near-sdk.io/zero-to-hero/basics/set-up-skeleton