Haven't migrated to the `/app` dir yet but I believe @balazsorban44 has been putting out a few awesome updates for @nextauthjs to make it compatible with server components!
NextAuth.js now supports @nextjs 13 Server Components in the `app` directory! Give it a try! 🎉
(For client components, define a `layout.js` in the highest common segment with the `use client` directive and wrap it with `SessionProvider`. The `pages` directory works as before.)
NextAuth.js now supports @nextjs 13 Server Components in the `app` directory! Give it a try! 🎉
(For client components, define a `layout.js` in the highest common segment with the `use client` directive and wrap it with `SessionProvider`. The `pages` directory works as before.)
We're gonna do a thing where we talk with devs who wanna share something cool and interesting. Streaming to twitch.tv/sourcegraph. Next week:
Mon: @nextauthjs w/ @thanghvu
Wed: SCIP and code intel w/ @olafurpg
Thur: @thorstenball demos how to navigate your cursor in Vim
NextAuth.js Middleware is already compatible! Check out 4.7.0!
Just put `export { default } from "next-auth/middleware"` in your `middleware.ts` file, and your app is secured!
Read more: next-auth.js.org/configurati…
Next.js 12.2:
◆ Middleware: Dynamic routing for your entire app
◆ On-Demand ISR: Update content without redeploying
◆ Edge Runtime (Exp): API Routes and SSR based on Web standards
◆ `next/image` (Exp): Faster & more flexible new version
nextjs.org/12-2
A warm welcome to @thanghvu who is joining the list of our maintainers! 💚🔥
He has been very active around the project recently, helping with the migration to a monorepo and improving our contributor DX along the way!
In the documentation 📚️, there is a new section for Deployment next-auth.js.org/deployment that also explains how to secure Preview Environments on Vercel.