clerk-sveltekit icon indicating copy to clipboard operation
clerk-sveltekit copied to clipboard

A way to get the user object in +server.ts via the POST method

Open Tilo-K opened this issue 1 year ago • 2 comments

It would be really great if the user object was available inside the POST function of +server.ts

async function POST(event: RequestEvent)

currently event.locals does not contain anything.

Is there any for me to do this or for you to add this?

Tilo-K avatar Feb 20 '24 09:02 Tilo-K