Troubleshoot a desktop deep link

Diagnose Dosya authentication and sync-folder links across macOS, Windows, and Linux while rejecting unsupported, expired, or unsafe destinations.

Last reviewed

Use the canonical dosya://auth/callback link for authentication and dosya://sync?path=… for a local sync folder. Unsupported destinations have no browser fallback, so first identify which link failed.

Four panels show classifying the deep link, retrying packaged OS delivery, restarting an expired callback, and validating a safe absolute sync path.
Separate protocol delivery from single-use authentication state and strict sync-path validation. Open full-size screenshot.

Before you start

  • Keep the full link private because an authentication callback can contain a token.
  • Confirm Dosya is installed. Sign-in is required for sync activity, while the authentication callback is itself part of signing in.

Steps

  1. Compare the link with the canonical forms dosya://auth/callback?token=…&state=… and dosya://sync?path=…. The client handles authentication and sync destinations; use these documented forms when creating or retrying a link.
  2. If nothing launches, start Dosya once and retry. Packaged builds register the scheme; Windows additionally repairs its protocol-client registration at startup, while macOS uses open-url and Windows/Linux receive URL arguments.
  3. For an authentication callback, restart the sign-in flow instead of replaying an old URL. The callback needs the pending single-use state; a missing or mismatched state is refused.
  4. After a valid callback, confirm the client reaches the authenticated dashboard. The resulting session cookie is set for 30 days; do not paste the callback token into a report.
  5. For a sync link, verify path names an existing absolute directory. The decoded value must stay within 1,000 characters and contain no control characters, NUL, or .. path segments.
  6. Retry the validated sync link and confirm Dosya opens /sync?localPath=…. Cold-start links wait for the renderer. If a destination is unsupported or malformed, there is no browser redirect fallback.
Dosya desktop overview reached after a valid authentication callback or before opening a supported sync-folder link.
Use the resulting authenticated app state, not the browser tab, to verify a supported custom link. Open full-size screenshot.

Expected result

A valid callback completes the pending sign-in, while a valid sync link opens the Sync page with the checked local directory. Repeated path encoding is decoded at most five times before refusal.

If the OS opens another program or does nothing after Dosya has launched once, repair or reinstall the packaged client for that operating system; there is no in-app “open in browser” recovery path.

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.