Passkey sign-in
One sign‑in across Holochain.
Use a passkey with apps that use hApp Auth. Choose what each receives, and manage your connections in one place.
hAppRadar
happradar.com
wants to know it’s you
New here, or lost your passkey?
hApp Auth
Interactive example: hAppRadar's sign-in, which runs on hApp Auth. Pick any way in. Nothing is sent.
Optional reputation
First proof liveTake your reputation with you.
The energy your roof exported, your charger's uptime: what one hApp measured can count in the next, only when you choose. Each app keeps its own badges and decides what a proof means. Nobody gets a score.
Exported today: 14.2 kWh
Welcome, Alice
From Contoso, viahApp Auth
hApp Auth carried 3.2 MWh exported from Contoso to Northwind, because Alice chose to.
Examples: synthetic people, fictional companies. Live today: a project maintainer, checked by hAppRadar, shared with QuickhApp to open the project's website.
01For people
Yours to hold, and yours to take back.
- 01
One passkey, wherever you see the button.
Your face, fingerprint or device PIN signs you in to every site that carries the button. There is no password to lose. GitHub and an email code work too.
- 02
You choose what each site receives.
A site names what it wants, one line each. Switch off anything but its ID for you and you still sign in. That ID is private to the site: no other site can match it.
- 03
Your devices are one you. Coming
Link the agent keys on your laptop and your phone, and a network can learn they are the same person, inside that network only. Your keys never leave your devices; we never hold them.
- 04
Your connections, with a revoke control.
Review your connected sites and agents, and revoke their access from one page. Third-party sites get different IDs for you. Information you choose to share can still identify you.
QuickhApp
quickhapp.com
wants to know it’s you
- Your ID for this siteRequired
- Your name and picture
- Your email address
- Your GitHub account
Not you?
You can disconnect this site any time at happauth.com/account
hApp Auth
Live on hApp Auth today: the request QuickhApp makes when you sign in. Turn a line off and press Continue; this example sends nothing.
- happradar.com
- quickhapp.com
- Claude Code
02For developers
Sign-in in ten lines.
Any OpenID Connect library works. Your client ID is a URL you host, so there is no form to fill, no secret to keep and no one to approve you.
import * as oidc from "openid-client";
const config = await oidc.discovery(new URL("https://happauth.com"),
"https://yoursite.example/oauth/client.json", undefined, oidc.None());
const verifier = oidc.randomPKCECodeVerifier();
const signInUrl = oidc.buildAuthorizationUrl(config, { scope: "openid profile",
redirect_uri: "https://yoursite.example/callback", code_challenge_method: "S256",
code_challenge: await oidc.calculatePKCECodeChallenge(verifier) });
const tokens = await oidc.authorizationCodeGrant(config, callbackUrl,
{ pkceCodeVerifier: verifier });
const { sub } = tokens.claims()!;
Lines 2–3 find hApp Auth, 4–7 send the person to it, 8–10 turn the code into the person. callbackUrl is the address hApp Auth sends them back to.
- Standard OpenID ConnectAuthorization code with PKCE, discovery, ID tokens. The library you already use.
- A private ID per siteEach third-party site gets its own subject for a person, so sites cannot join their records by it.
- Assurance you can readEvery ID token says how the person signed in: passkey, GitHub or email code. Agent-key sign-in is in development.
- Agents, the same wayAn MCP client asks on the same sheet and holds a short token the person can revoke.
03For hApp makers
Admission rules a DNA checks offline.
We’re building signed facts about a person, each bound to one network and one agent key. Your integrity zome will check one signature when the agent joins. No server will be asked at validation time.
- 01
GitHub account age
Older than 90 days, a year or three years.
- 02
Maintainer of a listed project
Proven on hAppRadar, read from the radar's claim proof.
- 03
An address at a domain
The verified domain, never the address.
# dna.yaml — the network's admission policy lives in its properties
properties:
happ_attestation_roots:
- "<hApp Auth's 32-byte root key>"
- "<another issuer's root key>" # several issuers are normal
happ_attestation_accept:
- claim_type: github-age
min_value: 365 # days
Said plainly
A membrane decides who joins. It cannot evict an agent who already joined, it does not gate who connects or reads, and an expiry inside validation is advisory. Hard eviction is a new network epoch.
04The button
Keep your button. We sign them in.
Your own Sign in button opens hApp Auth’s sheet, which leads with your name and logo; our signature sits small at its foot. Offering several ways in? Place ours beside the others, so people recognise their hApp Auth account, and use it as it is.
Two heights
44 px beside other providers; 36 px for the compact ink header button.
Anatomy
The mark at 0.6 × the height, the label at 0.36 ×, corners 0.22 ×.
Two labels
“Sign in with hApp Auth” beside other providers; your own “Sign in” on the compact ink button. No other wording.
To place it Coming
A 2 KB web component and an SVG set.
Independent, free to use, and yours to take back.
Sites add sign-in without registering; the people on them keep their keys.