Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More elegant oauth from the command line #10

Open
longears opened this issue Sep 29, 2012 · 0 comments
Open

More elegant oauth from the command line #10

longears opened this issue Sep 29, 2012 · 0 comments

Comments

@longears
Copy link
Owner

Assume the user is running python-tent-client from home, behind a firewall.

Right now we launch a browser window so the user can approve the app, but because we're not running a webserver we can't catch the callback that's supposed to happen to redirect_uri.

My temporary solution is to send the user to zzzzzzzexample.com and have them copy and paste the token they need out of the request parameters in browser's URL bar. (Turns out http://example.com will redirect you and wipe out the parameters.)

Twitter has a different outh process for command line apps that displays a page with a short numerical code which you can cut and paste back into your command line app. Is https://tent.is/ going to have anything like that?

Or, maybe tent.is will have a page for developers where you can generate your oauth keys right on the spot instead of going through the programmatic app registration process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant