dbxcli
dbxcli copied to clipboard
Where/how does dbxcli store account information?
Hi there,
first - thanks for this great piece of software.
Could anyone explain how dbxcli is linked to dropbox, and where/how the account information is stored?
Regards, Dietmar
you login via oauth, it gives you a link for you to paste in your browser, you click accept, and it gives you a token to paste back into dbxcli
and then it saves the authentication information
According to this method: https://github.com/dropbox/dbxcli/blob/master/cmd/root.go#L154
it stores the authentication configuration at <HOMEDIR>/.config/dbxcli/auth.json
A question according this: Is the authentication for ever or is there a timeout and I have to renew it after x- days?
as far as i can tell, dropbox doesn't support getting a token for a certain period of time, so it should last until the token is revoked either through the API or through https://www.dropbox.com/account/connected_apps
@mgrandi this is totally fine for me. I want to use it in a more or less headless context. Thanks!