I've seen this done a few ways:
* The Device Flow: https://tools.ietf.org/html/draft-ietf-oauth-device-flow
which is what you see on browserless devices like the Apple TV logging in
to a cable provider from your phone. A short code is generated and
displayed on the screen, you launch a browser on
Has anybody done any spec work around doing oauth from command line
interfaces? We're looking for something where the auth server can
generate text-based challenges that are rendered in the console window
that query for simple text input over possibly multiple requests. I'm
not talking about