Skip to content

For Next App Router middleware, are we supposed to just use the unseal/seal data methods? #658

Closed Answered by vvo
jordanpurinton asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there you can use the normal getIronSession in middleware, as seen here: https://github.com/vvo/iron-session/blob/main/examples/next/src/middleware.ts

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jordanpurinton
Comment options

@mcl-laura
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by vvo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants