Has anyone ever written up CLI-to-web authentication flows, like the one Heroku did, or the one Teleport does? I’m wondering if there’s best practices and stuff.
23
4
1
64
Excellent timing, today's blog post on the @oktadev blog is about exactly that! developer.okta.com/blog/2022… (it applies to anything outside Okta too of course)
1
Some do! But further down it says the CLI app can launch the browser on the machine if it has the ability to do so. Same flow under the hood tho.
The other option is for the CLI app to spin up a web server on localhost to catch the redirect developer.okta.com/blog/2018…
Apr 11, 2022 · 10:31 PM UTC
1
1


