loginos

Get started

loginos for developers

One sign-in for every domain of your product: how loginos works and where to start.

loginos gives your product one sign-in for every domain it runs on. People create a loginos account once, with a passkey or a password, and use it on all of your domains and on every other platform that uses loginos. You get standard OpenID Connect, so any OIDC library works, plus a few things most providers don't have: a user pool shared by all of your domains, roles in every token, and account linking for the users you already have.

Browser
Your server
loginos
1/6Your site sends the browser to loginos with your app key, a state and a PKCE challenge.

How the pieces fit

  • Platform: your product in loginos. It has an app key (public; it is the OAuth client_id) and an app secret (private; it stays on your server).
  • Domains: every host your platform runs on, like app.example.com and example.net, as many as you have: add them from the console or your server, cover all subdomains with a verified wildcard (*.example.com), or let your server confirm new ones as people sign in. They share one user pool: someone who joined on one domain is already a member on the others, and signs in there without being asked again. See Domains.
  • Callback path: the same path on every domain, /api/auth/login/single/callback unless you change it. loginos only ever sends people back to https://<one of your domains><callback path>.
  • Members: people who signed in to your platform at least once. You see them in the console and through the Management API.
  • Roles and permissions: defined per platform and carried in every token. See Roles and permissions.

Discovery lives at https://loginos.io/.well-known/openid-configuration. Codes are exchanged with your secret, PKCE is supported (and required for account linking), and ID tokens are signed with RS256.

Where to start

If you want toRead
Add “Sign in with loginos” to an appQuickstart
Let a coding agent do the integrationBuild with AI
Run on many domains, or ones that come and goDomains
Keep your existing accounts and let people link themLink existing accounts
Show the browser’s own “Continue as” prompt on your pagesContinue as
Gate features by role or permissionRoles and permissions
Manage members from your serverManagement API
Look up a parameter, claim or errorOpenID Connect reference
Compare approaches before you build: cookies, wildcards, passkeys, existing usersAnswers

Docs for agents

Every page here is also plain Markdown: add .md to its address, like /docs/quickstart.md. /llms.txt lists all pages, /llms-full.txt is the whole documentation in one file, and the Management API is described as OpenAPI.

Limits worth knowing

  • loginos doesn’t verify email addresses yet: email_verified is false. Never treat an email address as proof of identity, and never link accounts by matching emails. Use account linking.
  • The token endpoint and the Management API each allow 600 requests a minute per platform.
  • Access tokens and ID tokens last one hour; authorization codes five minutes, and they work once.