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

CLI support for custom credentials for OneDrive (client_id/client_secret) #632

Merged
merged 1 commit into from Jan 19, 2023

Conversation

sevimo123
Copy link
Contributor

Added support for custom OneDrive credentials (creating own Enterprise App client_id/client_secret). Token refreshes for custom credentials do not need to ping duplicacy.com for refreshes. Existing support for duplicacy.com tokens is kept intact, there should be no impact on anyone not using custom OD credentials.

Ideally, GUI will support optional client_id/client_secret fields, but it is not necessary, everything can be kept on CLI level. client_id should be stored in preferences under keys (e.g. "odb_client_id"), while client_secret should be stored within keyring (e.g. STORAGENAME_odb_client_secret).

@CLAassistant
Copy link

CLAassistant commented Jul 23, 2022

CLA assistant check
All committers have signed the CLA.

@gilbertchen
Copy link
Owner

This pull request has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/onedrive-using-own-credentials/6507/9

@gilbertchen
Copy link
Owner

Thank you for this work!

@gilbertchen gilbertchen merged commit 15b6ef9 into gilbertchen:master Jan 19, 2023
@gilbertchen
Copy link
Owner

This pull request has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/cli-release-3-2-0-is-now-available/7952/1

@gilbertchen
Copy link
Owner

This pull request has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/duplicacy-cli-3-2-2-release/8019/1

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

Successfully merging this pull request may close these issues.

None yet

3 participants