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.
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.comandexample.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/callbackunless you change it. loginos only ever sends people back tohttps://<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 to | Read |
|---|---|
| Add “Sign in with loginos” to an app | Quickstart |
| Let a coding agent do the integration | Build with AI |
| Run on many domains, or ones that come and go | Domains |
| Keep your existing accounts and let people link them | Link existing accounts |
| Show the browser’s own “Continue as” prompt on your pages | Continue as |
| Gate features by role or permission | Roles and permissions |
| Manage members from your server | Management API |
| Look up a parameter, claim or error | OpenID Connect reference |
| Compare approaches before you build: cookies, wildcards, passkeys, existing users | Answers |
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_verifiedisfalse. 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.