Overview

Add "Sign in with Paspo ID" to a website — with the SDK's ready-made button, an AI prompt, or your own OAuth 2.0 client.

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.

Sign in with Paspo ID buttons in the brand, light and dark themes

Choose how to integrate

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.

How it works

Sign-in flow: your page, the Paspo window, your server and the Paspo API

  1. The user clicks Sign in with Paspo ID. The SDK generates state, nonce and a PKCE code_verifier.
  2. A Paspo window opens at 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.
  3. The window closes and your page receives a one-time code (valid for 60 seconds).
  4. Your page sends code and code_verifier to your server.
  5. Your server calls POST https://paspo.id/api/w/v1/oauth/token with client_secret, verifies the returned id_token and creates its own session.

Desktop, FedCM and phones

The Paspo window is the main path on a computer. The SDK picks the sign-in path from the device and the requested scopes:

What happens after the click: phone, FedCM, popup

WhereWhat the user seesWhere the code arrives
ComputerThe Paspo window with a QR code or the current sessiononSuccess
Chrome 141+, scope phone without emailThe browser's own sign-in prompt (FedCM) — one tap. If it fails, the Paspo windowonSuccess with via: "fedcm"
iPhone, iPad, AndroidThe Paspo app opens right away; without it, the Paspo web pageCallback page redirectUri?code=…&state=… in a new tab
Popup blockedThe whole tab goes to Paspo and comes backCallback 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.

Before you start

Register your website in the Paspo ID dashboard. It's free.

Open the setup wizard

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.

Choose the Web platform

Enter your website address. The name and logo are taken from it — users see them on the consent screen.

Fill in the client settings

Redirect URIsExact URLs (no wildcards), e.g. https://app.example.com/auth/paspo/callback. Must be on the same origin as the page with the button.
ScopesAny of openid, profile, email, phone.
Origins (optional)https://app.example.com — needed for the FedCM prompt.

Save the keys

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.

client_secret never goes to the browser

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.

Endpoints

Issuerhttps://paspo.id
Discoveryhttps://paspo.id/.well-known/openid-configuration
Authorizehttps://paspo.id/oauth/authorize
Tokenhttps://paspo.id/api/w/v1/oauth/token
JWKShttps://paspo.id/api/w/v1/oauth/jwks
UserInfohttps://paspo.id/api/w/v1/oauth/userinfo
SDK (CDN)https://paspo.id/sdk/paspo.min.js

Next steps