© 2026 Hedgehog Software, LLC
const session = await auth.api.getSession({ headers: await headers() // you need to pass the headers object. })