Skip to content

fix: add NEXT_PUBLIC_MARKETING_URL and NEXT_PUBLIC_ADMIN_URL to marketing/admin deployments - #645

Merged
saddlepaddle merged 1 commit into
mainfrom
fix/better-auth-trusted-origins-marketing-admin
Jan 7, 2026
Merged

saddlepaddle merged 1 commit into
mainfrom
fix/better-auth-trusted-origins-marketing-admin

Conversation

@saddlepaddle

Copy link
Copy Markdown
Collaborator

Fixes Better Auth trusted origins error in marketing and admin apps by adding all 4 required URLs to their deployment workflows.

The auth package requires all 4 URLs in trustedOrigins: WEB, API, MARKETING, and ADMIN. Marketing and admin deployments were missing MARKETING_URL and ADMIN_URL, causing Better Auth to reject them as invalid origins.

@coderabbitai

coderabbitai Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@saddlepaddle has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 51 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 89b7631 and 57cf5d7.

📒 Files selected for processing (2)
  • .github/workflows/deploy-preview.yml
  • .github/workflows/deploy-production.yml

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@saddlepaddle
saddlepaddle merged commit 645f486 into main Jan 7, 2026
6 checks passed
@github-actions

github-actions Bot commented Jan 7, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

🔗 Preview Links

Service Status Link
Neon Database (Neon) ✅ View Branch
Fly.io Electric (Fly.io) ✅ View App
Vercel API (Vercel) ✅ Open Preview
Vercel Web (Vercel) ✅ Open Preview
Vercel Marketing (Vercel) ✅ Open Preview
Vercel Admin (Vercel) ✅ Open Preview
Vercel Docs (Vercel) ✅ Open Preview

Preview updates automatically with new commits

This branch was previously deployed

1 inactive deployment
preview — 57cf5d74 Deployed Jan 7, 2026 by saddlepaddle via Deploy Docs #760
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant