pomodoro icon indicating copy to clipboard operation
pomodoro copied to clipboard

Use password-less, token based OAuth for Twitter integration

Open ghost opened this issue 12 years ago • 2 comments

Pomodoro.app should use either OAuth with redirect or the OAuth + PIN mechanism to tweet on behalf of a user. I should not have to entrust Pomodoro.app to my password.

This would implicitly fix #232 since with a token you don't need to re-login.

ghost avatar Sep 08 '11 14:09 ghost

Hi Tim, I am using the xAuth variant because OAuth doesn't suit very well non-webapps. I agree with you that a full OAuth would be better, but in practice that would mean opening a web view, storing the token, etc.

ugol avatar Sep 08 '11 15:09 ugol

I think you can do full OAuth if you register a pomodoro scheme in OS X and have the Twitter OAuth handshake redirect to something like pomodoro://auth?token=…. For less effort you can go the PIN+OAuth route. In either case, won't this work by opening a URL using the system browser instead of embedding a web view in Pomodoro.app?

I suppose this is where you respond, "Sure, send me a pull request". :)

toolbear avatar Sep 08 '11 15:09 toolbear