Albert
Albert
KKinde
Created by Albert on 1/23/2024 in #💻┃support
[NextJS 14] User session returns null in API route, when user is already authenticated from caller
what's highly odd is this seems to work ok on another API route - are there any known issues/differences with how this behaves in api route handlers vs regular server components?
6 replies
KKinde
Created by Albert on 1/23/2024 in #💻┃support
[NextJS 14] User session returns null in API route, when user is already authenticated from caller
in the API file its just: import { getKindeServerSession } from "@kinde-oss/kinde-auth-nextjs/server" import { NextRequest } from "next/server"
6 replies