Our application register a user in the database after authentication by Auth0. And than adds some user details to the session. The was handled in a callback on Page /api/auth
During the migration from Nextjs Auth0 v3 to v4 we moved the code to Page /api/user
including the call to updateSession
. But the session is no longer updated.
The response header contains: set-cookie’: [ ‘appSession=; Path=/; Max-Age=0’ ]
Am I missing a step here?