Modern authentication without the complexity
Keylio provides a simple, secure, and type-safe authentication solution for Node.js applications.
❯npm install keylio@beta
utils/auth.ts
import { prisma } from "@/lib/prisma";
import { Keylio } from "keylio";
import { prismaAdapter } from "keylio/adapters/prisma";
const keylio = new Keylio({
adapter: prismaAdapter(prisma),
session: {
secret: process.env.AUTH_SECRET,
},
});Type-Safe (Trust me bro)
Well-tested
Caffeine Consumed

DEV
Forged by Lymore
"I write bugs so you don't have to."