Managed services for developers
Leantel runs hosted services for your apps, starting with sign-in and account management.
Using an AI coding assistant? Give it this instruction:
Set up Leantel in my app: leantel.dev/agents.mdProducts
Leantel services
Leantel AuthAvailable
Leantel Auth adds hosted sign-in, account pages and access control to your apps, with your branding.
Learn more about Leantel AuthLeantel NotifyComing soon
Leantel Notify will send email, SMS and push notifications through a single API, and show every delivery in the console.
Join the waitlistMore toolsPlanned
More services are planned.
How Leantel services work
No added latency
Your app verifies Leantel tokens itself, so requests to your API never wait for a call to Leantel.
Built on IETF and NIST guidance
Every release is tested against common attacks.
Free during early access
There is no charge while Leantel is in early access. Pricing will be published at least 30 days before any charges apply.
Open standards
Leantel Auth implements OAuth 2.1 and OpenID Connect, so it works with existing certified libraries.
Leantel Auth
How Leantel Auth works
People sign in on hosted pages that carry your branding, and your app receives a signed access token. Learn more about Leantel Auth
For your API
Verify tokens with the library you already use
Any certified OpenID Connect library works.
- Hosted sign-inPeople sign in with a password, a passkey or Google on pages with your branding, and you can turn on 2-step verification.
- Signed access tokensYour API checks standard JWTs against the signing keys that Leantel publishes.
- Roles and permissionsPermissions you define for each API in the console are included in every access token as scopes.
- WebhooksYour backend receives signed events when people sign up, are suspended or are deleted.
import { createRemoteJWKSet, jwtVerify } from 'jose'; // Leantel publishes its signing keys at a standard URL const keys = createRemoteJWKSet(new URL('https://auth.leantel.dev/.well-known/jwks.json')); export async function verify(request) { const token = request.headers.authorization?.replace('Bearer ', ''); const { payload } = await jwtVerify(token, keys, { issuer: 'https://auth.leantel.dev', audience: 'api_northwind', algorithms: ['RS256'], typ: 'at+jwt', clockTolerance: 60, requiredClaims: ['exp', 'iat', 'sub', 'jti', 'client_id', 'tenant_id'], }); return payload; // no call to Leantel }
import jwt # Leantel publishes its signing keys at a standard URL keys = jwt.PyJWKClient("https://auth.leantel.dev/.well-known/jwks.json") def verify(authorization: str) -> dict: token = authorization.removeprefix("Bearer ") if jwt.get_unverified_header(token).get("typ") != "at+jwt": raise jwt.InvalidTokenError("not an access token") key = keys.get_signing_key_from_jwt(token) return jwt.decode(token, key, algorithms=["RS256"], issuer="https://auth.leantel.dev", audience="api_northwind", leeway=60, options={"require": ["exp", "iat", "sub", "jti", "client_id", "tenant_id"]}) # no call to Leantel
import "github.com/leantel/authverify" // Fetches and caches the signing keys, then checks every request protect := authverify.Middleware("https://auth.leantel.dev", "api_northwind") http.Handle("/orders", protect(orders)) // no call to Leantel
Get started with Leantel Auth
Create an account, then follow the quickstart to add sign-in to your app.