You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A universal method to interact with NextAuth.js in your Next.js app.
139
139
* After initializing NextAuth.js in `auth.ts`, use this method in Middleware, Server Components, Route Handlers (`app/`), and Edge or Node.js API Routes (`pages/`).
140
140
*
141
-
* #### In Middleware
141
+
* ##### In Middleware
142
142
*
143
143
* :::info
144
144
* Adding `auth` to your Middleware is optional, but recommended to keep the user session alive.
0 commit comments