Skip to content
Who are you?InvestorsPartner PortalCareersTrust Center
TrustPass & TrustSign Developer Series · Part 3 of 3

Integrating with TrustPass and TrustSign: a developer guide

Treat access tokens as credentials, not sessions.

High-assurance identity only works if every relying party integrates it correctly. This whitepaper gives developers the rules: authorization code flow with PAR and PKCE, ephemeral DPoP keys, private_key_jwt client authentication, app-claimed HTTPS links on mobile, a backend-for-frontend on the web, clear SDK responsibilities, and a testing and conformance program that leaves evidence for every release.

Request the whitepaper

SAVIS Research. Engineering baseline as of 21 October 2026.

  • 10security-by-design rules for every integration
  • 6mobile checkpoints, each with a negative test
  • 6SDKs and test kits with defined responsibilities
  • 8test layers, from protocol conformance to UAT

Why it matters now

Most identity breaches in federated systems come from integration mistakes, not broken standards: implicit flows left enabled, redirect URIs that any app can claim, client secrets embedded in mobile apps, tokens stored in browser storage, ID tokens accepted without checking the audience, and raw error messages shown to users.

FAPI 2.0 closes many of these gaps by design - pushed authorization requests, PKCE, sender-constrained tokens and strong client authentication - but only when every relying party implements it fully and proves it with conformance tests.

Two audiences. One plan.

The whitepaper is written for the two groups who have to get this right together.

For engineering leads and partners

The ten rules, the mobile and web patterns, SDK boundaries and the evidence expected before go-live.

For mobile, web and backend developers

Platform-specific guidance for iOS, Android and the web, checkpoints with negative tests, and what each SDK may and may not do.

What you will learn

  • Ten security-by-design rules, from authorization code only to controlled error messages.
  • How to run PAR, PKCE S256 and an ephemeral DPoP key through one authentication transaction.
  • iOS and Android patterns: system browser sessions, verified app links, hardware-backed keys and native passkeys.
  • Web patterns: a backend-for-frontend, secure cookies, CSP and CSRF, and ID token validation.
  • Responsibilities of the mobile, web, backend, wallet and TrustSign SDKs, and what each must never do.
  • Eight layers of testing, from OIDC, FAPI and OpenID4VC conformance to resilience and UAT.

A look inside

Diagrams from the whitepaper.

App / browserRP backend (BFF)TrustPass ASResource / UserInfo1. state, nonce, PKCE verifier, ephemeral DPoP key2. PAR + private_key_jwt + DPoP3. request_uri4. /authorize in system browser5. User authenticates (passkey)6. code via HTTPS app link7. relay code to backend8. /token: code + verifier + DPoP proof9. DPoP-bound tokens; validate ID token10. UserInfo / API call with DPoP
FAPI 2.0 authorization with PAR, PKCE and DPoP
Mobile apppasskeys (native APIs)keys in Secure Enclaveor StrongBoxRASP signalsSystem browserASWebAuthentication-Session / Custom Tabsno embedded webviewTrustPass ASPAR, /authorizepasskey challengeHTTPS redirectopen authorizecode via verified app link (Universal / App Links)RP backend (BFF)holds client credentials,PKCE, DPoP, tokensrelay short-lived artifacttoken, UserInfo
Mobile integration pattern

Inside the whitepaper

  • 1. Ten security-by-design rules
  • 2. Mobile applications
  • 3. Web applications
  • 4. SDK responsibilities
  • 5. Testing, conformance and assurance

The negative tests every integration must pass

Positive tests show that a flow works; these show it cannot be abused.

Callback hijack

A malicious app tries to claim the redirect; the HTTPS app-claimed link and exact redirect registration stop it.

PKCE misuse

A wrong or reused verifier is rejected; the verifier lives only in backend transaction state.

DPoP replay

A reused jti or key across sessions is rejected; keys are ephemeral per authentication.

Tampered app

A tampered or debuggable build is detected by attestation and handled by risk policy.

One transaction, one DPoP key

The backend creates state, nonce, a PKCE verifier and an ephemeral DPoP key pair, and pushes the authorization request (PAR) with private_key_jwt. The user authenticates in the system browser, with a passkey where available. The app relays the short-lived redirect artifact to the backend, which exchanges the code at the token endpoint with the PKCE verifier and a DPoP proof from the same key, validates the ID token, and calls UserInfo or resource APIs with DPoP. A new transaction gets a new key.

Questions for the board

A board that gets a documented answer to each question is governing the risk. From the whitepaper:

  • Have all relying parties removed implicit flow and custom URI callbacks?
  • Are any client secrets embedded in mobile apps or SPAs?
  • Do our integrations pass OIDC, FAPI and OpenID4VC conformance suites on every release?

Request the whitepaper