Get current session information including user details and token expiry
Session object with user info and token metadata
401 - Not authenticated
import { getSession } from "@cpod/sdk";const session = await getSession();console.log(session.user.email); Copy
import { getSession } from "@cpod/sdk";const session = await getSession();console.log(session.user.email);
Get current session information including user details and token expiry