[Problem/Question]
We are migrating from javascript sdk v3 to v4. In the way, we are facing an issue when using the SDK from a NextJs API endpoint (a function running on the server). The same logic works well on v3, but just hangs out on v4 without any log or feedback. I also tried adding a sessionHandler function, to print statuses without success.
// If problem, please fill out the below. If question, please delete.
[4.3.1]
// What version of the SDK are you using?
javascript SDK 4.3.1
[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.
I created a repo to make it easy to test.
NextJs reference:
[Frequency]
// How frequently is this issue occurring?
Always
[Current impact]
// How is this currently impacting your implementation?
It is blocking us from completing the migration to V4