Question on authorization

Hey, I have a stupid question. However, I can't figure it out at the moment.

When I make an api call (from my api with hono). The following always returns null:

const session = await auth.api.getSession({ headers: c.req.raw.headers });

Do I need to explicitly include auth details in the fetch call?
Was this page helpful?