Sign in with Paspo lets people sign in to your website with their Paspo ID account — no passwords, no SMS. Paspo is a standard OpenID Connect provider: your page receives a one-time authorization code, and your server exchanges it for an id_token with the user's verified e-mail, phone or name.
Paste one prompt into Claude Code, Cursor, Codex or Copilot — the agent wires up the frontend and the backend.
renderButton draws the branded button and picks the sign-in path itself: popup, FedCM, or the Paspo app on phones.
Copy-paste examples for React, Next.js, Vue, Nuxt, Angular, Svelte and plain HTML.
No SDK: implement OAuth 2.0 + PKCE yourself or plug Paspo into Auth.js, openid-client and other OIDC libraries.
state, nonce and a PKCE code_verifier.https://paspo.id/oauth/authorize. The user scans a QR code with the Paspo app or confirms an existing session, and picks which e-mail / phone to share.code (valid for 60 seconds).code and code_verifier to your server.POST https://paspo.id/api/w/v1/oauth/token with client_secret, verifies the returned id_token and creates its own session.The Paspo window is the main path on a computer. The SDK picks the sign-in path from the device and the requested scopes:
| Where | What the user sees | Where the code arrives |
|---|---|---|
| Computer | The Paspo window with a QR code or the current session | onSuccess |
Chrome 141+, scope phone without email | The browser's own sign-in prompt (FedCM) — one tap. If it fails, the Paspo window | onSuccess with via: "fedcm" |
| iPhone, iPad, Android | The Paspo app opens right away; without it, the Paspo web page | Callback page redirectUri?code=…&state=… in a new tab |
| Popup blocked | The whole tab goes to Paspo and comes back | Callback page redirectUri?code=…&state=… |
So you always need a callback page: on phones it is the main path. See the framework guides for how to build it.
Register your website in the Paspo ID dashboard. It's free.
Dashboard → Organization → Services → Add. If you aren't signed in, the dashboard asks you to sign in with the Paspo app and then opens the wizard.
Enter your website address. The name and logo are taken from it — users see them on the consent screen.
| Redirect URIs | Exact URLs (no wildcards), e.g. https://app.example.com/auth/paspo/callback. Must be on the same origin as the page with the button. |
| Scopes | Any of openid, profile, email, phone. |
| Origins (optional) | https://app.example.com — needed for the FedCM prompt. |
You receive a public client_id (goes in the browser) and a client_secret (server only). Put the secret into your secret store or server environment variables right away.
The code exchange always happens on your server. Never put client_secret in frontend code, in NEXT_PUBLIC_ / VITE_ / NUXT_PUBLIC_ environment variables, or in mobile apps.
| Issuer | https://paspo.id |
| Discovery | https://paspo.id/.well-known/openid-configuration |
| Authorize | https://paspo.id/oauth/authorize |
| Token | https://paspo.id/api/w/v1/oauth/token |
| JWKS | https://paspo.id/api/w/v1/oauth/jwks |
| UserInfo | https://paspo.id/api/w/v1/oauth/userinfo |
| SDK (CDN) | https://paspo.id/sdk/paspo.min.js |