Skip to content

Everything it does, enumerated.

The homepage makes the argument. This is the list — what a person gets, what a developer integrates against, and what the platform will not do on their behalf.

Your sign-in page, arranged your way.

The page your users land on, in your colours and under your name. Five layouts, one accent that colours the whole page, and a background behind it. Free on every plan.

Northwind

Welcome back to Northwind

Your account, wherever you are.

No account? Register

Account byonefold (opens in a new tab)

accent #b63ce2 · corners full · layout split

Read about the layouts

Every way in, ready.

Password, passkey, magic link and email code, and six providers on your own credentials. Offer whichever you like on each application.

  • Password

    Checked against known-breached corpora before it is ever accepted. You never see it.

  • Passkey

    A way in on its own, not a second step. No WebAuthn ceremony in your codebase.

  • Magic link

    Single use. An unknown address gets the same silent answer as a known one.

  • Email code

    Eight digits by default, sent in your application's name, and never stored.

  • Google

    Your credentials, brokered. Linked by verified email only, and an unverified claim is refused.

  • Microsoft

    An address without Microsoft's domain-verified claim is proved with an emailed code before anything is linked.

  • GitHub

    Linked by the verified primary address on the account, never the public one.

  • GitLab

    GitLab's own verified-address claim decides whether a person is in at once or confirms by code first.

  • Discord

    On your own Discord credentials. An address Discord has not verified is confirmed by code first.

  • Facebook

    A Facebook address is proved with an emailed code before anything is linked.

Your name, everywhere.

The mail people receive and the pages they visit carry your application's name, accent and hostname.

Your name, accent and logo in sign-in mail
On every plan, wherever the platform sends mail for your application.
Your own mail server
Host, port, TLS and a sender, verified before it is switched on. The password is stored encrypted and never shown again.
Your own wording
The five sign-in and sign-up emails, previewed at desktop and phone width, with a test send to yourself.
Your sign-in domain
On every plan, verified and switched on automatically. It serves the hosted account page too.
Your dashboard domain
Your portal on your own hostname, with your logo, favicon, product name and colours.
  • Sign-in pageauth.northwind.example/oauth/authorize
  • Account pageauth.northwind.example/oauth/account/profile
  • Your portaldash.northwind.example

sample hostnames

They know what they are agreeing to.

Every sign-in runs four steps, and the third is this screen: the real consent screen, named scope by scope. An Application allowed to skip it sends its users straight through, and everything the step created still exists.

  1. They press your Sign in button

    And arrive on a sign-in page carrying your name and your colours, not ours.

  2. They prove who they are

    A password, a passkey, a provider, an emailed link. Whichever ones you offer.

  3. They approve what you asked for

    Named scope by scope, with your application named beside them, before you get a code.

  4. They land back in your application

    With an authorization code you exchange for tokens on your own server.

Skip the consent screen

  • Scale
  • Whitelabel

Users go straight from sign-in to your application. The grant is still recorded, and they can revoke it any time.

See Scale
onefold
MA
Northwind wants access to your account
Authorizing this connects Northwind to your account.

Signed in as Maya Chen · onefold account

@maya

  • Identity
  • Profile

Your onefold account works across apps. Northwind sees only what you allow.

Registered by Personal Organization · northwind.example (opens in a new tab)

You'll be returned to app.northwind.example

You can revoke access anytime from Apps.

Account byonefold (opens in a new tab)

The grant is still made

Same scopes, same expiry, same record. Nothing about what an Application receives changes.

It still appears in Authorized Apps

On the page every person here uses to see which Applications hold what.

It can still be revoked

By the person who holds it, from that page, without asking the developer.

A consent list they can read.

What an Application may ask for: the identity scopes in full, and a brokered social connection for each provider you configure.

  • openidA stable subject id

    Proves the account exists and signed in. Carries no personal data of its own, and its sub is the foreign key you store.

  • identityWho they are, verified

    Their address, username, display name and date of birth, and whether the address has been verified. You never run the verification yourself.

  • profileThe profile they filled in

    Display name, avatar, banner, gender and the answers to your organization's profile fields. Blank stays blank, so treat every field as optional.

  • profile:editA profile your app can update

    Name, gender, date of birth, language, pictures and your profile fields, within what your organization shows.

  • profile:activityTheir activity with your app

    Sign-ins, app sessions and shared connections — your app's own rows, never another app's.

  • sessionsTheir signed-in devices

    Device, rough place and last activity for each session, and a sign-out for your apps on it. Never an IP address or a user agent.

  • socials:discordA Discord account, brokered

    Runs on your own Discord credentials. You receive the grant, so you never build the provider hop yourself.

  • socials:googleA Google account, brokered

    Same rule. Its own credentials, its own consent, revocable on its own.

  • socials:githubA GitHub account, brokered

    Same rule again. Nothing about your repositories is requested or reachable.

  • socials:*…and more

    One brokered connection per social provider you configure, 6 today, each on your own credentials.

Who may sign in.

Decide who gets in, per application or once for the whole organization.

Who may sign up
Anyone, invitation only, or both, or follow your organization's default.
Invitations
Invite an address, and withdraw the invitation.
Blocking
Block a person at one application or across your organization, and unblock them later.
Your own sign-up questions
Asked once, after somebody approves you. Each is required or optional, and an optional one is genuinely skippable.

Already built.

The security machinery you would otherwise write, maintain, and be woken up by. All of it is on the free plan.

Breached-password rejection

Checked against known-breached corpora before it is accepted, k-anonymously: only five characters of the digest ever leave the server.

sha1(password)[:5]

Lockout, two axes

One counter on the identifier, one on the address, so spraying trips the second without touching the first. A missing account locks out identically.

identifier · address

Reverification before anything sensitive

Satisfied by any credential the account actually holds, because one linked through a provider may have no usable password at all.

Account linking

A social identity attaches only on a provider-verified email match. An unverified claim is refused rather than merged.

Alerts that work locked out

The revoke link is signed and single-use, so it works without signing in. The person who needs it most is the one who cannot get in.

Sessions and grants

Device list, remote revoke, refresh rotation with a blacklist, and a security feed of failed sign-ins. None of it is your table to migrate.

The surface around it.

Signed webhooks, scoped API keys, and roles an Organization defines.

A plan decides volume, rate, and how much of the sign-in page is yours. Compare the plans.

Never behind a plan.

None of this is a paid tier or an add-on, and you cannot turn it off for your users. They hold all of it on the free plan, and they handle their own account without filing a ticket with you.

What every plan includes

  • Two-factor, via authenticator app

    TOTP-based, with backup codes for the day somebody loses the phone.

  • Passkeys

    As many as a person likes, named, each revocable on its own.

  • Reverification

    Turning two-factor off asks for any credential that account actually holds, never one it might not have.

  • New-device alerts

    Its revoke link works without signing in, because the person who needs it may be the one locked out.

  • Revoke anything, from anywhere

    Any session, any Application, one click, effective immediately.

What your users do themselves

  • Every device, endable

    Each session with its address, its browser and when it was last used, revocable one at a time.

  • The security feed

    Failed sign-ins, failed two-factor attempts and anything flagged as unusual, kept as a record the account holder can read.

  • Every Application they authorized

    What each may see, and when it was approved. Yours appears here beside the rest.

  • A record of every notification

    Every notification the platform raised, and control over which of them reach email.

  • No public profile page

    There is no address a stranger can load to see somebody. A profile is what an Application receives when it is allowed to, and nothing more.

  • Connected accounts they control

    They connect or remove a social sign-in from their own page, however they first signed in, and each change is emailed to them.

A policy on every token.

Set it once for the organization. It holds at every authorization and every token refresh of your applications.

Your organization sets

Two-step verification
Required for everybody who signs in, or not.
A maximum sign-in age
How old a sign-in may be before it is renewed.
Sign-ins across your applications
Whether a sign-in made in one of them counts in another.
How long a credential lives
No cap, 30, 90 or 180 days, or a year, for every API key.

Each application may

Tighten any of them
An application's setting is never looser than its organization's.
A lower credential cap
For its own keys.

One person, on the spot

Require somebody to sign in again, or ask them for a password reset.

Billing you drive

Change plan or add a seat from the portal, quoted first. Your renewal date holds.

See the plans

A signed-in user in three requests.

Standard authorization code with PKCE, so the OpenID Connect library your framework already ships speaks it without a plugin. Every sample below is the real request. Read the cURL tab as the specification if your stack is not one of these three.

The browseronefoldYour server
  1. 01GET /o/authorize/
  2. 302 to your callback
  3. GET /callback?code=
  4. 02POST /o/token/
  5. 03GET /o/userinfo/

the two unnumbered hops are the browser following a redirect. you write three requests.

Registering the Application and adding a redirect URI happen in the portal, before any of this. Neither needs code.

01Send them to authorize

A full page navigation, not a request you make. Generate a state and a PKCE pair per attempt and keep both against the session. S256 is the only accepted method, and it is required of confidential clients too.

verifier=$(openssl rand -base64 48 | tr '+/' '-_' | tr -d '=')
challenge=$(printf %s "$verifier" | openssl dgst -sha256 -binary \
  | openssl base64 | tr '+/' '-_' | tr -d '=')

# Send the browser here. curl cannot complete this step for you.
https://onefold.eitozx.com/o/authorize/
  ?response_type=code&client_id=$CLIENT_ID
  &redirect_uri=https://yourapp.example/callback
  &scope=openid%20identity%20profile&state=$state
  &code_challenge=$challenge&code_challenge_method=S256

02Exchange the code

On your server, where the secret lives. Check the returned state against what you stored first, and stop if it does not match. The endpoint takes form encoding, which is the second thing most integrations get wrong.

curl -X POST "https://onefold.eitozx.com/o/token/" \
  -d grant_type=authorization_code \
  -d code="$CODE" \
  -d redirect_uri=https://yourapp.example/callback \
  -d client_id="$CLIENT_ID" \
  -d client_secret="$CLIENT_SECRET" \
  -d code_verifier="$verifier"

# { "access_token": "...", "refresh_token": "...", "id_token": "...",
#   "expires_in": 3600, "token_type": "Bearer", "scope": "..." }

03Read who signed in

Store sub as your foreign key. It is a 64-bit snowflake and it never changes. Keep it a string: a JSON number that large loses precision the moment a browser parses it.

curl "https://onefold.eitozx.com/o/userinfo/" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

# { "sub": "8291...", "email": "...", "preferred_username": "...", ... }
# Store "sub" as your foreign key. It never changes.

Refresh tokens rotate, and the old one dies the instant the new one is issued. There is no reuse window, so refresh in one place behind a lock rather than wherever a request happens to notice an expiry. The quickstart covers that, the two portal steps above it, and what to do about a 401.

Start the quickstart

Every change, sent to your server.

13 events about the people who use your application, free on every plan, with no limit on endpoints.

Signed
An HMAC-SHA256 of the timestamp and the body, keyed by your endpoint's secret.
Delivered at least once
Retried when your server fails, and found and sent again if the queue loses it.
Replayable
Send any past delivery again from its log.
Safe to deduplicate
Every request carries its delivery id and the id of the event it repeats.
Explained when it fails
A delivery that will not be sent says why: retries exhausted, expired after 72 hours, or its endpoint switched off.
POST to your endpoint
POST /hooks/accounts HTTP/1.1
X-Webhook-Event: consent.granted
X-Webhook-Timestamp: 1700000000
X-Webhook-Signature: 38877139021993b830af32feea6e18a8…
X-Webhook-Delivery: 117263243512233984
X-Webhook-Event-Id: 117263243512233984

{ "sub": "1842069517340672",
  "id": "1842069517340672",
  "application_id": "116402122433576960",
  "organization_id": "116402121871540224", … }

sample delivery, ids and body shortened

Your servers, on the same people.

Keys cut down to exactly the scopes each server needs, with every scope on every plan. A key rotates with a 24-hour handover, so the old one keeps working while you redeploy.

An application's key

Reaches that application's people, their profile fields and your own data about them, its usage, analytics and activity log.

An organization's key

Reaches every application the organization runs, on the same scopes, naming the one it means on each call in the Onefold-Application header.

The people
users:readmetadata:readmetadata:writeprofile_fields:readprofile_fields:writeprofile_activity:read
The application
application:readentitlements:read
What happened
analytics:readactivity:read
Codes are the contract

Every refusal carries a stable machine-readable code. Codes are additive-only and never repurposed, so branch on the code and ignore the English, which gets reworded freely.

Leaving is possible.

Everything here is OAuth 2.0 and OpenID Connect as specified. No proprietary extension sits in the path, and nothing asks you to install a client library.

Verify a token without calling us
GET /.well-known/openid-configuration
GET /.well-known/jwks.json
Two URLs, your own library
The discovery document and the key set. Point any standard OIDC client at them and it configures itself, because nothing here is a proprietary extension.
A generated reference
It renders the published OpenAPI document at request time, so it cannot describe an endpoint the server does not serve, and it cannot quietly fall behind one that changed.
The subject id is yours
Store sub as your foreign key. It is a 64-bit snowflake, it never changes, and it is a string on the wire.
Export your users
The Users tab downloads as JSON or CSV, one record per person, keyed by the sub you already store.

Your products belong to the organization.

Keep ownership, access, credentials, and activity under one organization — not tied to the person who created the application.

Roles you define, not rungs we picked

Set each thing a role can reach to allowed, denied, or inherited. Roles resolve upward, so the one you put highest has the last word.

Social credentials, configured once

Where the Organization's plan includes them, an Application with no credentials of its own inherits the Organization's. Rotate one secret and every Application has it on the next request.

The Organization's activity log

Every administrative change to every Application the Organization owns, and who made it. No account event reaches this feed.

Read-only still reads billing

Delivery history, activity and billing, without permission to change any of them.

Created inside an Organization

Every Application is created in an Organization. Somebody with none is given an ordinary one of their own, so the first Application is never a dead end.

An Organization decides who administers an Application, never what that Application can do. There is one shared pool of people underneath, so an Organization is not a tenant.

4 surfaces, from the portal's own tab list · an example ecosystem, not an account

One place to look.

An Organization that owns several Applications has to open several tabs to find out whether any of them is failing. On the plans that include it, the answer is one screen. The numbers themselves are readable per Application on every plan; what this buys is seeing them together.

Webhook deliveries, at once

How many landed, how many failed, and how many are still queued, across every Application the Organization owns rather than one tab at a time.

Which endpoints are broken

The count of distinct endpoints that failed at all, which is the number that matters when one of them is retrying loudly.

API key traffic and errors

Request volume for the whole Organization, and how much of it came back an error, without opening a log.

Counts, never requests

No path, no payload and no key is carried into this view. An Organization dashboard is not a log reader.

Each Application, on its own

The consolidated view is what an Organization plan buys. Every one of these numbers stays readable on each Application's own tabs, on every plan.

Everyone who ever signed in

The people who left as well as the people who stay, each counted once however they changed address, with how each one left.

A profile your organization shapes.

This is the real account page, in a sample application's brand. Click through it.

Northwind

Your account

MA

Maya Chen

@mayachen

About you

Optional
Optional

Preferences

Optional

Your organization decides the profile

Which built-in fields people fill in, which are required, and fields of your own. Every application in the organization reads the same profile.

Each application narrows it

An application can hide fields and sections from its own consent screen, tokens and API. It can never show what the organization hides.

An account page on your domain

People see and change their profile, activity, connections and sign-ins with your application, on your sign-in domain and in your brand.

A profile API

Read and update the profile with the person's token, or from your server with an API key. Every change reaches you as a profile.updated webhook.

Their devices, if they share them

With the sessions scope you see each signed-in device, a rough place and when it was last used, and can sign your applications out there. Never an IP address or a user agent.

Same person, same id.

Every surface names a person by one id: the ID token, userinfo, introspection, the management API and every webhook. Store it once. When it does change, you hear about it.

  1. They authorize your application

    consent.grantedsub …0672
  2. They change their email

    profile.updatedsub …0672, unchanged
  3. They move their profile to another address

    subject.changedprevious_sub …9310 → sub …0672

    A lookup by …9310 still finds them.

Start with the hard part already done.

Register an Application, add a redirect URI, and sign in your first real user.