Skip to content

Support for refreshing access tokens for authentification of WebDAV remote #10689

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

Open
Matt1h opened this issue Feb 13, 2025 · 0 comments
Open
Labels
fs: webdav Related to the Webdav filesystem help wanted

Comments

@Matt1h
Copy link

Matt1h commented Feb 13, 2025

This was already discussed at:

https://discuss.dvc.org/t/updating-refreshed-oidc-token-in-config-local/2296?u=matthias

When using a WebDAV remote the token for authentication can be stored in the config.local file with

dvc remote modify --local hifis token <token>

I use oidc-agent for authentication, which creates a new refreshed access token every 5 minutes, so the token in the config.local file has to be updated every 5 minutes. It would be nice if it would be possible to define the command , for oidc-agent this would be oidc-token <config_name>, that returns the current access token, so DVC can always use this current access token and it does not have to be updated in the config.local file all the time. For example rclone is doing it like this.

@shcheklein shcheklein added fs: webdav Related to the Webdav filesystem help wanted labels Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fs: webdav Related to the Webdav filesystem help wanted
Projects
None yet
Development

No branches or pull requests

2 participants