Closed royce-mathew closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
auth-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 5, 2024 5:10am |
@royce-mathew is attempting to deploy a commit to the authjs Team on Vercel.
A member of the Team first needs to authorize it.
Thanks for your interest, but I think we're not going to accept this change, it would set a bad precedent for us documenting all sorts of things for the database and hosting provider itself.
Folks should know whether their database is edge-comaptible or not when using one of those deployment platforms (Vercel, Cloudflare, etc.). We can't be the documentation for the adapter and the hosting provider as well.
☕️ Reasoning
When trying to call the auth function anywhere inside middleware.tsx, the following issue is encountered.
There should be a warning on the adapter's page displaying that it is not compatible with middleware.
🧢 Checklist
🎫 Affected issues
https://github.com/nextauthjs/next-auth/issues/10819
📌 Resources