const session = await authClient.getSession()
console.log(session)
/*
{
"name": "Lennox",
"email": "XXX@gmail.com",
"emailVerified": true,
"image": "https://cdn.discordapp.com/avatars/564190948863508486/37754c72a939961f707f77119b568e9b.png",
"createdAt": "2025-11-25T20:04:55.817Z",
"updatedAt": "2025-11-25T20:04:55.817Z",
"role": "admin",
"banned": false,
"banReason": null,
"banExpires": null,
"id": "wTh3z9gAnG48Vb4aKZEtAaVq0T0Mq3By"
}
*/
const session = await authClient.getSession()
console.log(session)
/*
{
"name": "Lennox",
"email": "XXX@gmail.com",
"emailVerified": true,
"image": "https://cdn.discordapp.com/avatars/564190948863508486/37754c72a939961f707f77119b568e9b.png",
"createdAt": "2025-11-25T20:04:55.817Z",
"updatedAt": "2025-11-25T20:04:55.817Z",
"role": "admin",
"banned": false,
"banReason": null,
"banExpires": null,
"id": "wTh3z9gAnG48Vb4aKZEtAaVq0T0Mq3By"
}
*/