Anybody had success with using next-auth in an API route yet with app router?
Unanswered
Thai posted this in #help-forum
ThaiOP
Title... I can't get auth() working in an API route
2 Replies
ThaiOP
Note: I am using next-auth v5 and NextJS 15
ThaiOP
export const GET = auth((req) => {
console.log("Auth", req.auth)
});