A CLI needing to oAuth with a web flow.
Should it attempt/offer to open the browser for you?
Thinking no.
Delegate to the shells URL launching features which should integrate with the OS.
wyt?
4
4
Device flow is a good option for this. But the regular auth code flow and either automatically launching or just showing the URL to click on works too. Downside of that is the CLI app needs to spin up a web server to catch the callback. Device flow doesn't have that requirement
Aug 4, 2020 ยท 8:15 PM UTC
1
2


