Skip to content

feat(next-auth): add Vercel skew protection headers to client fetches#13405

Open
brookemosby wants to merge 1 commit intonextauthjs:mainfrom
brookemosby:feat/vercel-skew-protection-fetch-headers
Open

feat(next-auth): add Vercel skew protection headers to client fetches#13405
brookemosby wants to merge 1 commit intonextauthjs:mainfrom
brookemosby:feat/vercel-skew-protection-fetch-headers

Conversation

@brookemosby
Copy link
Copy Markdown

Attach x-deployment-id to SessionProvider and client auth requests so plain fetch calls stay pinned during rolling releases. Respects VERCEL_SKEW_PROTECTION_ENABLED and resolves deployment id from Next/Vercel conventions.

Made-with: Cursor

☕️ Reasoning

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

Attach x-deployment-id to SessionProvider and client auth requests so plain fetch calls stay pinned during rolling releases. Respects VERCEL_SKEW_PROTECTION_ENABLED and resolves deployment id from Next/Vercel conventions.

Made-with: Cursor
@brookemosby brookemosby requested a review from ThangHuuVu as a code owner April 6, 2026 16:13
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auth-docs Ready Ready Preview, Comment Apr 6, 2026 4:16pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
next-auth-docs Ignored Ignored Preview Apr 6, 2026 4:16pm

Request Review

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

@brookemosby 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