-
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Naohide Sano edited this page Nov 1, 2021
·
11 revisions
https://console.developers.google.com/
download from [credentials >> your_id >> download json]
and locate it into ${HOME}/.vavifuse/googledrive.json
- application credential
$ cat ${HOME}/.vavifuse/google.properties
google.googledrive.applicationName=vavi-apps-fuse
google.googledrive.scopes=https://www.googleapis.com/auth/drive
google.googledrive.accessType=offline
- user credential (if you use
vavi.net.auth.oauth2.google.GoogleLocalAuthenticator
)
$ cat ${HOME}/.vavifuse/credentials.properties
google.password.xxx@yyy.zzz=your_password
google.totpSecret.xxx@yyy.zzz=your_totp_secret
https://github.com/umjammer/OneDriveJavaSDK#registration
- application credential
$ cat ${HOME}/.vavifuse/onedrive.properties
onedrive.applicationName=your_application_name
onedrive.clientId=your_client_id
onedrive.clientSecret=your_client_swcret
onedrive.redirectUrl=http://localhost:30000
onedrive.scopes=onedrive.readwrite
- user credential (if you use
vavi.net.auth.oauth2.microsoft.MicrosoftLocalAuthenticator
)
$ cat ${HOME}/.vavifuse/credentials.properties
microsoft.password.xxx@yyy.zzz=your_password
microsoft.totpSecret.xxx@yyy.zzz=your_totp_secret
https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
- application credential
$ cat ${HOME}/.vavifuse/onedrive.properties
microsoft.graph.applicationName=your_application_name
microsoft.graph.clientId=your_client_id
microsoft.graph.clientSecret=your_client_swcret
microsoft.graph.redirectUrl=http://localhost:30000
microsoft.graph.scopes=files.readwrite.all,offline_access,user.read
- user credential (if you use
vavi.net.auth.oauth2.microsoft.MicrosoftLocalAuthenticator
)
$ cat ${HOME}/.vavifuse/credentials.properties
microsoft.password.xxx@yyy.zzz=your_password
microsoft.totpSecret.xxx@yyy.zzz=your_totp_secret
Google Drive / OneDrive icon by Icons8