This guide is the starting point for the Express showcase documentation. It explains the current behavior of the application and where to find its implementation. It is for developers integrating IPification as well as developers running the demo. The examples use placeholders: obtain your own credentials, enabled products, callback URLs and supported scopes from your IPification configuration.
| Goal | Showcase methods | Guide |
|---|---|---|
| Verify an entered number | IP, IP+, IP via App, IM | Browser authorization |
| Log in with a mobile identity | IP, IP+, IM | Browser authorization |
| Obtain anonymous identity or verify KYC phone | Anonymous Identity, KYC | Browser authorization |
| Verify or obtain a number using a SIM credential | PNV SIM, Login SIM | SIM / TS43 |
| Verify an entered number with an OTP | PNV SMS | SMS |
| Start on desktop and continue on a phone | QR for supported browser flows | QR and polling |
| Exchange a mobile code or read a stored Showcase result | Mobile and S2S endpoints | Mobile and S2S |
| Check Android app integrity before authentication | Play Integrity attempt, verification and exchange | Play Integrity |
Run the demo · Showcase HTTP endpoints
Run npm run docs:build from the repository root to generate the searchable handler and type reference. Open docs/generated/reference/index.html. Reference overview
- Screen: showcase entry, routes and views.
- Browser authorization: browser routes → web handlers → auth service → authorization URL builder and code exchange. Attempt storage handles bindings, expiry and concurrent callbacks.
- QR: QR UI and polling → browser auth status and completion routes. The pending page also polls status for applicable IM flows.
- SMS: SMS UI → routes → controller → shared CIBA service and provider calls.
- SIM: SIM UI → routes → controller → the shared CIBA service and provider. SIM has its own credential and rate-limit steps.
- Mobile and S2S: mobile routes and controller exchange a code; S2S routes and controller read a stored result.
- Play Integrity: routes and service implement the optional Android flow. The shared session store holds demo display sessions, not the provider's user session.
The browser calls the showcase's own endpoints. The showcase backend holds client credentials and calls the IPification authorization, token, userinfo and CIBA endpoints. In your integration, replace the showcase backend with your own backend and register your own callback URI. Paths such as /auth/prepare, /auth/status, /sms/auth and /ts43/token are showcase implementation choices, not IPification API requirements.
Keep client secrets and access tokens on the backend. Browser auth validates the ID token and nonce, but does not implement PKCE; mobile and Play Integrity code exchanges lack browser attempt nonce binding. IM backchannel source authentication also remains a deployment responsibility. These examples are educational and do not constitute a complete production OAuth implementation. Never log credentials, authorization codes, tokens, OTPs or full userinfo.
The source links above describe the current implementation.