keslr/keslr_connect
Connect your service to Keslr: sign in with Keslr and read the verification claim that proves a user is a real, vouched-for human — plus run services reachable only by Keslr members.
What it solves
Keslr Connect provides tools for developers to build applications that only allow verified humans to access them. It solves the problem of bot-driven spam and fake accounts by leveraging a trust graph of vouched-for members and a private network where only verified users can establish TCP connections.
How it works
The project consists of three TypeScript packages that integrate with the Keslr network:
@keslr/auth: An OpenID Connect (OIDC) relying party that allows users to sign in and provides claims about their verification status.@keslr/express: A set of Express.js routes and guards that simplify the implementation of the OIDC login flow.@keslr/network: A tool that resolves the network address of an incoming request to the identity of the verified human owning that device.
Applications can either use a full OIDC login for explicit consent and sessions, or rely on network-level identity resolution for low-friction access without traditional accounts.
Who it’s for
Developers building services, forums, or dashboards that require a high degree of certainty that their users are real people, without wanting to manage complex registration, CAPTCHAs, or email verification loops.
Highlights
- Trust-Graph Verification: Uses a chain of vouches from existing members to verify humans.
- Network-Level Identity: Allows identity resolution based on the network address, potentially eliminating the need for signup forms and passwords.
- Security-First Design: Hard-codes RS256, enforces PKCE, and uses constant-time comparisons to prevent common JWT and timing attacks.
- Zero Runtime Dependencies: The core
@keslr/authpackage has no runtime dependencies.
Related
- Project
- Project
- Project
- Project
- Project