Skip to content

Conversation

broekema41
Copy link

Ensure that reqWithEnvURL can correctly restore the API call path when Next.js strips it from incoming requests.

Refs: #13034

☕️ Reasoning

After running into bug #13034 when having a basepath configured in the nextjs config. this variable is unfortunately not easilly exposed and therefor we see a convention in discussions and bug reports using env variable NEXT_PUBLIC_BASE_PATH as it can be available in both the server side and client side.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

…s#13034)

Ensure that reqWithEnvURL can correctly restore the API call path when Next.js strips it from incoming requests.

Refs: nextauthjs#13034
@broekema41 broekema41 requested a review from ThangHuuVu as a code owner August 14, 2025 13:51
Copy link

vercel bot commented Aug 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
auth-docs Ready Preview Comment Aug 14, 2025 1:55pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored Preview Aug 14, 2025 1:55pm

Copy link

vercel bot commented Aug 14, 2025

@broekema41 is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant