integrate backend Google OAuth and set up avatar media proxy

- Implement the full login and onboarding workflow to handle name, handle, and avatar.

- Rewrite avatar asset URLs to route through the self-hosted media service.

- Add Next.js rewrites configuration to proxy media requests directly to the FastAPI backend.
This commit is contained in:
2026-05-20 17:27:16 +08:00
parent 6fe1504e7e
commit c187cd22ed
13 changed files with 673 additions and 271 deletions
+10 -1
View File
@@ -7,4 +7,13 @@ prompts:
preset:
double_app:
- "app/app/page.tsx"
- "app/app/layout.tsx"
- "app/app/layout.tsx"
login:
- "app/login/*"
- "app/page.tsx"
- "app/layout.tsx"
- "app/(dashboard)/layout.tsx"
- "app/(dashboard)/discover/*"
- "app/(dashboard)/roleplay/*"
- "proxy.ts"