User didn't successfully log in due to the cookie is too big and spilt into two piece, nextjs edge-runtime not correctly set the cookie #1230
Labels
needs investigation
This needs to be investigated further before proceeding
Checklist
Description
Hi,
We have a problem that user can not successfully login. We recognize the issue to be similar to this one #1045.
In short, our user has a large profile photo url which makes the cookie exceed 4MB limit. Auth spilt it into two piece but due to Vercel edge-runtime can't successfully handle it vercel/next.js#38302 (It seems like that they close it but the issue persist).
We are solving this issue by not requiring the "profile" scope which is not ideal in our use-case.
Is there any workaround on Auth0 side to make this work?
Reproduction
This is our configuration
We are using this api to get accessToken
I think we are in the similar issue as @jonahallibone . Because the user can't login has two session.
We try to alter the get-access-token to make this work but there has no luck
Additional context
No response
nextjs-auth0 version
2.6.0
Next.js version
13.4.2
Node.js version
14.x
The text was updated successfully, but these errors were encountered: