Bot releases are visible (Hide)
Published by github-actions[bot] 19 days ago
enableHandshake
value default to true
as header based authorization does not support handshake by default anyway.Published by github-actions[bot] 29 days ago
@clerk/backend
to 1.13.2@clerk/shared
to dependenciesPublished by github-actions[bot] about 2 months ago
Published by github-actions[bot] about 2 months ago
4c4b12a: Move auth object to resolved properties
Usage:
import { Elysia } from "elysia";
import { clerkPlugin } from "elysia-clerk";
new Elysia()
.use(clerkPlugin())
.get("/api/me", async ({ clerk, auth, set }) => {
if (!auth?.userId) {
set.status = 403;
return "Unauthorized";
}
const user = await clerk.users.getUser(auth.userId);
return { user };
})
.listen(3000);
Published by github-actions[bot] about 2 months ago
Published by github-actions[bot] 3 months ago
Published by github-actions[bot] 3 months ago