print authentication URL if browser can't open
I'm running it in a devcontainer, there's no xdg-open or whatever for a browser.
Web Authentication
Opening your browser...
✓ Browser opened
Complete authentication in your browser window.
Waiting for authentication...
Can you do this via phone instead? You can export/import keys between devices
How would I do that? Export my key from one device to another, then sign in via my phone, and the sessions will show up on any of those devices that share the same private key?
It would be great if I could send the link to another device like a laptop.
The flow:
- You install mobile app, copy the account secret to computer
- You go to web on your computer, restore account with this secret key
Now you can authenticate device with both web and mobile and they will all share keys.
When 0.8.0 ships you should always see the browser authentication URL printed out for you to copy and paste.
I made the change in https://github.com/slopus/happy-cli/commit/92bda01d5213b4aaa5f6b15aa920c4c26e178f62, but it has not been published yet.