dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 100 forks source link

Unable to Authorize App #64

Closed garyemerson closed 7 years ago

garyemerson commented 7 years ago

I ran go get -u github.com/dropbox/dbxcli and then ./dbxcli du. This is the auth url I'm given: https://www.dropbox.com/1/oauth2/authorize?client_id=mvhz183vwqibe7q&response_type=code&state=state

and this is what I get when I visit: screen shot 2017-02-24 at 10 07 34 pm

Am I doing something wrong here?

diwakergupta commented 7 years ago

@garyemerson known issue, please download the latest release and try again. Thanks!

diwakergupta commented 7 years ago

More specifically, dbxcli is no longer go get-able -- you need to use the pre-built binaries. This is because we no longer embed the security tokens used for the production app in the source code.

garyemerson commented 7 years ago

Hmm, I see. I wanted to use this on my headless raspberry pi and I think my only option is compiling from src. Is that possible? From build.sh it looks like I need a few secret keys and stuff.

diwakergupta commented 7 years ago

@garyemerson I'm happy to generate builds for you if you can send me the OS/platform combo (seems like 32-bit ARM?). To do your own builds yes you'd need to register your own apps and use your own keys.

garyemerson commented 7 years ago

Awesome, that'd be great. Just created #65!

diwakergupta commented 7 years ago

Should be fixed now that #65 is merged. I'm pushing new builds, please download the latest ARM build and LMK if it works!

garyemerson commented 7 years ago

It works great, thanks a bunch!