Hi @accounting1
Welcome to the Auth0 Community!
I would recommend to take a look at this knowledge article regarding Extending The Next.js appSession Cookies. This should do the trick.
Additionally, you can take a look at our documentation regarding Session Layers.
If you have any other questions, feel free to leave a reply on the post!
Kind Regards,
Nik