Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 4.41 KB

README.md

File metadata and controls

38 lines (27 loc) · 4.41 KB

Express integration guide

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.

Choose a flow

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

Read the source

Who calls whom?

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.