DEV Community

Discussion on: Easy user authentication with Next.js

Collapse
 
sheptang profile image
Anıl Yarkın Yücel

Is it possible to use withIronSession in _app.jsx and pass the session:true|false to pageProps to wrap around each and every possible page in an easier way? That being said, it'd be inside the function App({ Component, pageProps }){.... Please tell me "YES", I need this answer and how :')