I created route.ts file inside app>auth>token
import { getToken } from “next-auth/jwt”;
import { NextRequest, NextResponse } from “next/server”;
export async function GET(request: NextRequest) {
const token = await getToken({ req: request });
console.log(token)
return NextResponse.json(token);
}
In brwoser after login i tried to see token by go to the right path localhost:3001/api/auth/token but i get null what that mean