Repository navigation
fix(auth): normalize proxy proto and align oauth backend env config - #133
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for regal-bunny-0c8efe ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughThis PR updates OAuth callback routing to use a backend API domain instead of the frontend domain, introduces separate frontend/backend URL configuration variables, and enhances production proxy handling with proper trust settings and header normalization. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
…133) * fix(auth): normalize proxy proto for secure oauth sessions * chore(config): align oauth backend envs in compose and docs





Summary
WEBAPP_BACKEND_URL,CLIENT_SECRET).env.exampleand setup docs to use canonical API callback domain guidanceWhy
These changes reduce login/session inconsistencies in proxied production setups and make required env wiring explicit across local and deployed compose environments.
Validation
npm run test --workspace=packages/backend -- tests/integration/routes/auth.test.ts --runInBandnpm run type:check --workspace=packages/backendNotes
mainbefore final commitSummary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation
Tests