import { getAuth } from '@kobbleio/next/server'export default async function handler(req, res) { const { session } = await getAuth(); if (!session) { return res.status(401).json({ error: 'Unauthorized' }); } // An active session was found. User and tokens can be accessed from the session object. // <further logic here...>}