Connect Drive via Quick Connect (Paste-URL Flow)
The rclone-style paste-URL flow that bypasses redirect_uri_mismatch and works without Google Cloud Console setup.
What you'll learn
Open /connect-drive
From the navbar user menu, click Drives, then click Add a new drive → Personal. You'll land on /connect-drive.
The page has two tabs: Quick Connect (recommended, zero setup) and Personal API (for users with their own Google Cloud credentials).
Click "Open Google authorization"
On the Quick Connect tab, select the drive purpose (Personal / Backup / Public Copy), then click Open Google authorization.
A new tab opens with Google's consent screen. Sign in with the Google account whose Drive you want to connect (not necessarily the same as your GDShine login).
Review the permissions GDShine requests and click Continue, then Allow.
Copy the redirected URL
After you allow access, Google tries to redirect to http://localhost:53682/?code=4/0Ab.... Your browser shows "This site can't be reached" — this is normal and expected.
Copy the full URL from the address bar, including the ?code= parameter.
Why this works: localhost:53682 is the redirect URI registered for rclone's shared OAuth client, so you don't need a Google Cloud Console project of your own. The code in the URL is what GDShine needs.
Paste the URL back into GDShine
Switch back to the GDShine tab. Paste the URL into the Paste the URL from your browser input box and click Connect Drive.
GDShine exchanges the code for a refresh token (behind the scenes) and stores it encrypted in the database. You'll see a success message with the drive's email auto-detected from the Google account.
Verify the drive
Go to /drives. Your new drive appears with an Active badge and a method badge showing ⚡ Quick (rclone shared credentials) or 🔑 Personal API (your own credentials).
Click Verify on the drive row. You should see "Connection verified — N files in root." If it fails with an auth error, the refresh token wasn't captured correctly — reconnect.
Troubleshooting common errors
"This site can't be reached": Expected. Copy the URL and paste it back.
"No refresh token received": You've previously authorized this app. Revoke at myaccount.google.com/permissions, then retry.
"Code is invalid or expired": OAuth codes expire in ~10 minutes. Generate a fresh auth URL and repeat.
"redirect_uri mismatch" (Personal API tab): Your custom OAuth client isn't configured with http://localhost:53682/ as a redirect URI. Either add it in Google Cloud Console, or switch to Quick Connect.
You're done!
You've completed all 6 steps. Questions? Reach out to support.