dropbox / dbxcli

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

dbxcli doesn't detect when OAuth2 token no longer works #94

Closed simsong closed 6 years ago

simsong commented 6 years ago

I was using the dbxcli and I disconnected it from the "connected apps" section. Now it doesn't work, which is what I was expecting. But I can't figure out how to reconnect it. How do I do that?

simsong commented 6 years ago

Apparently if you logout from the cli, you can then log back in with the account command. So the problem is that the cli doesn't handle the case properly when its OAuth2 token no longer works.

lfaraone commented 6 years ago

Can you provide output of what the error is in this case, and what it should be instead?

simsong commented 6 years ago

Unfortunately, I don't have the error output anymore.