Connect a cloud account for imports

Connect Google Drive, OneDrive, or Dropbox through the released OAuth flow, verify the returned identity, and recover from exact callback errors.

Last reviewed

Connect from Dosya’s integration page so the server can create a signed, session-bound OAuth request. The provider grants read access for import; Dosya never asks you to paste a provider password or access token.

Four-step workflow map for Connect a cloud account for imports: Choose Connect account for the intended cloud provider. Verify the provider email and requested read access before approval. Find the same email under Connected accounts as the saved receipt. Open Import for that account, prove the picker lists a known item.
The map starts with “Choose Connect account for the intended cloud provider.” and ends with “Open Import for that account, prove the picker lists a known item.” Open full-size screenshot.

Steps

  1. Sign in to Dosya in the browser, open Integrations, and choose a configured provider’s Connect account control.
  2. On the Google Drive, OneDrive, or Dropbox consent screen, verify the signed-in email and requested read access before approving Dosya.
  3. Return to the provider setup page and find that email under Connected accounts; the account row is the success receipt.
  4. If the page says Connection cancelled, sign-in attempt expired, provider did not accept the sign-in, or failed while saving, start a fresh connection from Dosya.
  5. Choose Import beside the new account, browse a harmless file or folder, and verify the picker can list it.
  6. Close the picker without importing if this was only a connection test, or select reviewed content and continue with the import guide.

Only providers configured in the deployed API are listed; the registered set is Google Drive, OneDrive, and Dropbox. The OAuth state is single-use and tied to the signed-in session. A connection belongs to the Dosya user, so it can later be used to import into a workspace where that user has upload_files permission.

Expected result

The provider page contains a Connected accounts row with the approved email and connection age, and its Import action opens the remote root. Query parameters from the callback are removed after the page consumes them, so refreshing does not replay a stale notice.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.