Sign up once.Signed in on lumen.tv
loginos gives every domain of your platform one shared user pool. People create a single account, with a passkey if they like, and every site you run already knows them.
Run a platform? Add your domainsSign in to Lumen
with loginos
Email or username
bob
1 domain with one account
Register once. Arrive everywhere.
The first domain someone visits asks them to sign up. Every other domain of your platform signs them in without a form, because they all share one user pool.
Time to get in, same person, four domains
- lumen.tvusernameemailpasskeySigns up3 fields0 s
- lumen.appno fields0.0 s
- golumen.comno fields0.0 s
- lumen.iono fields0.0 s
Next time, not even a redirect.
Chrome and Edge show their own “Continue as…” prompt right on the platform's page and sign returning members in by themselves. Other browsers open a small loginos window that closes on its own.
The platform learns who someone is only after they continue.
Passwords become optional.
People sign in with Face ID, a fingerprint or a security key. The passkey stays on their device, works on every domain of your platform and can't be phished.
- Bound to loginos.io, so a look-alike site gets nothing.
- Synced by Apple, Google, Microsoft or a password manager.
- Passwords still work for anyone who prefers them.
Press and hold to sign in
Roles travel with the sign-in.
Define roles and permissions once for your platform. Assign them in the dashboard or through the API, and every domain reads them straight from the token.
ID token payload
RS256{ "iss": "https://loginos.io", "sub": "4f1c9a72-8d3e-4b6a-9f21-c07e5d8a1b34", "aud": "c686ed90ab513092129087d76ed92ee1", "preferred_username": "bob", "name": "Bob Carter", "email_verified": true, "roles": [ "member" ], "permissions": [ "comments:write", "posts:read" ], "amr": [ "hwk" ]}Encoded token
eyJhbGciOiJSUzI1NiIsImtpZCI6Ik4zZ0t0cTJ2WDhwUiIsInR5cCI6IkpXVCJ9.ewogICJpc3MiOiAiaHR0cHM6Ly9sb2dpbm9zLmlvIiwKICAic3ViIjogIjRmMWM5YTcyLThkM2UtNGI2YS05ZjIxLWMwN2U1ZDhhMWIzNCIsCiAgImF1ZCI6ICJjNjg2ZWQ5MGFiNTEzMDkyMTI5MDg3ZDc2ZWQ5MmVlMSIsCiAgInByZWZlcnJlZF91c2VybmFtZSI6ICJib2IiLAogICJuYW1lIjogIkJvYiBDYXJ0ZXIiLAogICJlbWFpbF92ZXJpZmllZCI6IHRydWUsCiAgInJvbGVzIjogWwogICAgIm1lbWJlciIKICBdLAogICJwZXJtaXNzaW9ucyI6IFsKICAgICJjb21tZW50czp3cml0ZSIsCiAgICAicG9zdHM6cmVhZCIKICBdLAogICJhbXIiOiBbCiAgICAiaHdrIgogIF0KfQ.kX2fQ9wLrT7bYs0NnV4cHq8Jm1Zp6Ue3Ad5Gt0Rk8Wy2Lx7Ch4Bv9Mn1Fs6Jq3Pe
Everyone gets a card.
Every account comes with a public card at loginos.io/@username: a photo, links and contact details, shared with one link or a QR code. People decide what's on it.
Card style
Drag to tilt, tap to flip
Bob Carter
@bob
Product designer at Lumen
Scan to open the card
loginos.io/@bob
Save contactloginos member since 2026
Two routes on your server. That's the integration.
Send people to loginos from /api/auth/login/single and take them back at /callback with a one-time code. It's standard OpenID Connect underneath, so Auth.js, Passport and other libraries work too.
The sign-in, hop by hop
What's inside state
loginos.io/login?state=eyJyZXR1cm5VcmwiOiJodHRwczovL2x1bWVuLnR2L2FwaS9hdXRoL2xvZ2luL3NpbmdsZS9jYWxsYmFjayIsImFwcEtleSI6ImM2ODZlZDkwYWI1MTMwOTIxMjkwODdkNzZlZDkyZWUxIiwic3RhdGUiOiJZazNzVHE4dkx3MlJ6OVhjIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsImNvZGVDaGFsbGVuZ2UiOiJFOU1lbGhvYTJPd3ZGckVNVEpndUNIYW9lSzF0OFVSV2J1R0pTc3R3LWNNIiwiY29kZUNoYWxsZW5nZU1ldGhvZCI6IlMyNTYiLCJsYW5nIjoiZW4ifQ
{
"returnUrl": "https://lumen.tv/api/auth/login/single/callback",
"appKey": "c686ed90ab513092129087d76ed92ee1",
"state": "Yk3sTq8vLw2Rz9Xc",
"scope": "openid profile email",
"codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM",
"codeChallengeMethod": "S256",
"lang": "en"
}// app/api/auth/login/single/route.ts
import { createHash, randomBytes } from "node:crypto";
import { NextResponse, type NextRequest } from "next/server";
const LOGINOS = "https://loginos.io";
const b64url = (b: Buffer) => b.toString("base64url");
export function GET(req: NextRequest) {
const state = b64url(randomBytes(16));
const verifier = b64url(randomBytes(32));
const url = new URL("/oauth/authorize", LOGINOS);
url.search = new URLSearchParams({
client_id: process.env.LOGINOS_APP_KEY!,
redirect_uri: `${req.nextUrl.origin}/api/auth/login/single/callback`,
response_type: "code",
scope: "openid profile email",
state,
code_challenge: b64url(createHash("sha256").update(verifier).digest()),
code_challenge_method: "S256",
}).toString();
const res = NextResponse.redirect(url);
res.cookies.set("lo_flow", `${state}.${verifier}`, { httpOnly: true, secure: true, sameSite: "lax", maxAge: 600 });
return res;
}
// app/api/auth/login/single/callback/route.ts
export async function GET(req: NextRequest) {
const [state, verifier] = (req.cookies.get("lo_flow")?.value ?? "").split(".");
if (!state || req.nextUrl.searchParams.get("state") !== state)
return new Response("Sign-in expired, try again.", { status: 400 });
const res = await fetch(`${LOGINOS}/oauth/token`, {
method: "POST",
body: new URLSearchParams({
grant_type: "authorization_code",
code: req.nextUrl.searchParams.get("code") ?? "",
redirect_uri: `${req.nextUrl.origin}/api/auth/login/single/callback`,
code_verifier: verifier,
client_id: process.env.LOGINOS_APP_KEY!,
client_secret: process.env.LOGINOS_APP_SECRET!,
}),
});
if (!res.ok) return new Response("Sign-in failed.", { status: 401 });
// { sub, preferred_username, name, picture, email, roles, permissions }
const { user } = await res.json();
const done = NextResponse.redirect(new URL("/", req.url));
done.cookies.delete("lo_flow");
await startYourSession(done, user); // your own session cookie
return done;
}One account. Every domain.
Create your account in a minute, or add your platform and its domains.