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