fix: add NEXT_PUBLIC_MARKETING_URL to API deployments#644
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe changes propagate a marketing URL environment variable ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
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 |
🚀 Preview Deployment🔗 Preview Links
Preview updates automatically with new commits |
Fixes Better Auth trusted origins error by adding missing NEXT_PUBLIC_MARKETING_URL to both preview and production API deployment workflows.
The auth package requires all 4 URLs in trustedOrigins: WEB, API, MARKETING, and ADMIN. The API deployments were missing MARKETING_URL, causing Better Auth to reject it as an invalid origin.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.