### Checklist - [x] The issue can be reproduced in the [nextjs-auth0 sample app](https://github.com/auth0-samples/auth0-nextjs-samples/tree/main/Sample-01) (or N/A). - [x] I have looked into the [Readme](https://github.com/auth0/nextjs-auth0#readme), [Examples](https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md), and [FAQ](https://github.com/auth0/nextjs-auth0/blob/main/FAQ.md) and have not found a suitable solution or answer. - [x] I have looked into the [API documentation](https://auth0.github.io/nextjs-auth0/) and have not found a suitable solution or answer. - [x] I have searched the [issues](https://github.com/auth0/nextjs-auth0/issues) and have not found a suitable solution or answer. - [x] I have searched the [Auth0 Community](https://community.auth0.com) forums and have not found a suitable solution or answer. - [x] I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md). ### Description - v4 sdk creates a new additional transactional cookie each time the unauthenticated user navigates to the app - v4 logout does not remove said cookies v3 does not create infinite cookies and does remove cookies on logout. This eventually leads to a situation where the header of the request is too large. ### Reproduction 1. Be unauthenticated in your application (remove all cookies on that domain if you want) 2. Navigate to a route in your application (receive a cookie) 3. Navigate to another route in your application (receive another cookie) 4. Repeat as many times as you wish 5. Navigate to `/auth/logout` (receive another cookie, and cookies are not removed) https://github.com/user-attachments/assets/21076f33-3c81-428b-b84b-4d566883cb4e ### Additional context N/A ### nextjs-auth0 version 4.0 ### Next.js version 15.1.6 ### Node.js version 20.x
Checklist
Description
v3 does not create infinite cookies and does remove cookies on logout.
This eventually leads to a situation where the header of the request is too large.
Reproduction
/auth/logout(receive another cookie, and cookies are not removed)infinite.cookies.mp4
Additional context
N/A
nextjs-auth0 version
4.0
Next.js version
15.1.6
Node.js version
20.x