OAuth Environment Inventory (March 19, 2026)
Historical evidence: This inventory records the environment state on March 19, 2026. The permanent shared development environment has since been retired. Do not use its Vercel, Neon, Fly.io, or OAuth references as current setup instructions; follow the current deployment and OAuth runbooks.
Scope
This inventory covers the Phase 5 provider OAuth separation work for:
- Google.
- OneDrive.
- Dropbox.
It records where provider OAuth credentials are consumed and whether dev/prod are currently separated.
Current Finding
Provider redirect URIs are already environment-specific, but the actual provider client IDs and client secrets are still shared between dev and prod.
That means Phase 5 is not complete yet.
Application Consumers
Primary runtime consumers in the Next.js app:
src/lib/oauth.ts.src/lib/service-token-refresh.ts.src/config/services/google.config.ts.src/config/services/onedrive.config.ts.src/config/services/dropbox.config.ts.
Primary route consumers:
src/app/api/google/route.ts.src/app/api/onedrive/route.ts.src/app/api/dropbox/route.ts.src/app/api/auth/refresh/route.ts.- provider-specific upload, create-folder, open, and debug routes that call the shared OAuth helpers.
Primary Fly.io surface:
fly-rclone/deploy.sh.fly-rclone/.env.example.template.