RISCfuture / dropbox

An easy-to-use client library for the official Dropbox API.
MIT License
519 stars 47 forks source link

HTTP basic auth #14

Closed igorw closed 13 years ago

igorw commented 13 years ago

authorize! uses a fake browser to login and authorize. Why does it go through the GUI? Wouldn't it make more sense to use the existing support for basic auth?

RISCfuture commented 13 years ago

Can you point me to some docs for this Basic Auth support?

igorw commented 13 years ago

Turns out, it's not actual basic auth, but an API to receive a token via email/password.

You make a request to /token supplying email and password parameters.

https://www.dropbox.com/developers/docs

RISCfuture commented 13 years ago

The authorize! method was originally written for integration testing with the OAuth API. Supporting the token API is a completely different feature which I'll work on.