For privacy and security concern, you should register your own Application ID
and use it in onedrive-fuse
.
Steps:
-
Login ANY of your Microsoft accounts (it doesn't need to be the account of your OneDrive), goto
App Registritions
page and click the buttonNew registration
on the top-left. -
Fill the form.
-
Name
can be randomly chosen. -
Supported account types
should beAccounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
.This will ensure support for organisational accounts as well as personal.
-
Redirect URI
should bePublic client/native (mobile & desktop)
(chosen from the left list), and URLhttp://localhost/onedrive-fuse-login
(the right input box).onedrive-fuse supports local login only. It will listen on a random port of the same computer during login, and successful login in browser will automatically callback to onedrive-fuse with the token.
-
Click
Register
-
-
In the next page, you will see the information of your registered application. The UUID-format
Application (client) ID
is just what we need. Copy and save it for the later use.This Client ID is not really a secret, since it just identify the application. You still need further login to your OneDrive account to get the access token.
-
Now you can follow README to login to you OneDrive account with the registered Client ID.