这是indexloc提供的服务,不要输入任何密码
Skip to content

Cannot logout - "Error: expired_access_token" #208

@bwesen

Description

@bwesen

Just tested dbxcli (latest git version) and I got it to authorize correctly, I could put a file and stuff, then when I tried it again a few hours later I got an "expired_access_token" error, and couldn't find any command to refresh it (shouldn't that be done automatically as its an oauth2 app?) What is worse, I couldn't even logout...

jorn@breck:~/go/src/github.com/dropbox/dbxcli$ ./dbxcli account
Error: expired_access_token/
jorn@breck:~/go/src/github.com/dropbox/dbxcli$ ./dbxcli logout
Error: expired_access_token/
jorn@breck:~/go/src/github.com/dropbox/dbxcli$ ./dbxcli account
Error: expired_access_token/

Where does dbxcli store the temporary refresh tokens? Maybe I can delete it manually and retry.

But surely it isn't meant to require a full account authorization cycle every 3 hours? That would make the app unuseable for backend scripting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions