tool · inferred from evidence
headers
A function from next/headers to access request headers.
- Session not working in Next.js 15 (@descope/nextjs-sdk)
On Next.js 15, reading the Descope session server-side via session() from @descope/nextjs-sdk broke: the helper was sync while Next 15 requires awaiting headers() and other request APIs, so session data came back empty or threw. Descope rep