How are y'all doing OAuth from CLI? I'm reading an @oktadev blog that recommends running a server on localhost:8080 to handle the redirect. developer.okta.com/blog/2018… The @heroku CLI uses a meet-in-the-middle service that the CLI polls until the auth is done.
50% localhost redirect
15% poll a MitM service
35% copy-paste the token
20 votes • Final results
3
3
5
These days I usually recommend the OAuth Device Flow. This particular post was a workaround since Okta didn't have support at the time, but it's in beta now! Here's a post sort of related although solving a slightly different problem developer.okta.com/blog/2021…

Feb 2, 2022 · 10:09 PM UTC

7