library · inferred from evidence
@descope/nextjs-sdk/server
Server-side module of the Descope Next.js SDK.
- Session not working in Next.js 15 (@descope/nextjs-sdk)
Until the fixed release, use the async getSession helper from @descope/nextjs-sdk/server as a workaround: await headers() from next/headers, build a request object carrying the x-descope-session header, and pass it to getSession(req). Desco