Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot logout - "Error: expired_access_token" #208

Open
bwesen opened this issue Apr 16, 2024 · 0 comments
Open

Cannot logout - "Error: expired_access_token" #208

bwesen opened this issue Apr 16, 2024 · 0 comments

Comments

@bwesen
Copy link

bwesen commented Apr 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant