How to add sharepoint storage on duplicacy web

The cli has add the feature to use custom client id and secret to add sharepoint as storage.
I tried on cli, it works. Only need to modify the preferences file, add client_id under keys.

        "keys": {
    "odb_client_id":"xxxx"
    },

When connected, you will be asked to enter the secret. After that, the secret will be added to the kingring file(Windows).

How can I achieve this on duplicacy web base on docker?So many preferences under cache/localhost

So I try to modify cache/localhost/all/.duplicacy/preferences, add the “keys”, then run the copy task on web ui.
Failed because it seems that the duplicacy web will revert the ‘keys’ to null.
Any solution ? or is it a bug?

Solved.
id and secret can be set by env variables.

1 Like