1 · Setup (one time)
How do I get these two IDs?
Microsoft (OneDrive):
- Go to
portal.azure.com→ search “App registrations” → New registration. - Name: anything (e.g.
od2gd). Supported account types: Personal Microsoft accounts only (or “Any Azure AD directory + personal” if you use a work account). Click Register. - On the app page → Authentication → Add a platform → Single-page application → Redirect URI: paste this exactly:
- Copy the Application (client) ID from the app Overview page and paste it above.
Google (Drive / Shared Drive):
- Go to
console.cloud.google.com→ create a project (any name) → APIs & Services → Library → enable Google Drive API. - APIs & Services → OAuth consent screen: choose External, fill app name + your email, and on the Test users step add the Google account you will copy with.
- APIs & Services → Credentials → Create credentials → OAuth client ID → type Web application.
- Under Authorized JavaScript origins add exactly:
- Copy the Client ID and paste it above.
2 · Connect both accounts
Not connected
Not connected