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
Creator
DEV

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

"Built with blood, sweat, and several dozen 'final_final_v2' commits."

Disclaimer: Keylio is not responsible for any productivity spikes, improved sleep quality, or the sudden urge to delete your old auth boilerplates.

If you find a bug, it's actually an undocumented feature. Please report it anyway.

MIT LicensedNo TrackersZero Bloat