M ZeeshanM
Convex Community17mo ago
48 replies
M Zeeshan

Clerk auth session in Convex functions

i know i can get user object like this by configuring auth.config.ts
const user = await ctx.auth.getUserIdentity();

and in httpActions
await fetch(url, {
  headers: {
    Authorization: `Bearer ${token}`,
  },
});

but how to get clerk active session in any function or httpAction ?
Was this page helpful?