App-to-App registration runsheet
Related Feature: Redirect to App (app2app) Support
This runsheet sets up the App-to-App Redirect Flow for a single brand. Complete it once for each brand that offers App-to-App.
Prerequisitesโ
- The brand has a published (or soon-to-be-published) iOS and/or Android app.
- You can add Universal Links / App Links handling to that app and ship an updated build.
- Your Data Adapter exposes Get User Principals, accounts, usage and billing, and its
userIdandprincipalIdvalues are stable identifiers. - Your app already holds a session token from your own identity provider, and your backend can mint or read the claims the token exchange needs (see below).
What you need to provide to Bizaโ
Supply the following app store identifiers for the brand. These are used to build the app association files Biza hosts on your authorisation domain.
| Item | Platform | Example | Notes |
|---|---|---|---|
| Bundle ID | iOS | io.biza.example | The app's bundle identifier. |
| Team ID | iOS | ABCDE12345 | Your Apple Developer Team ID. |
| Package name | Android | io.biza.example | The app's application package name. |
| SHA-256 signing fingerprint(s) | Android | 14:6D:E9:โฆ:D8 | One per signing key. Include both your upload key and the Play App Signing key if you use Google Play App Signing. |
If you rotate the Android signing certificate, provide the new fingerprint before shipping the re-signed build, otherwise App Links will stop resolving and Consumers will fall back to the web OTP flow. These values can be updated per brand in HaaS Manager.
Separately, supply the following for token exchange trust, the material Biza uses to verify your own session token before exchanging it:
| Item | Example | Notes |
|---|---|---|
| Session-token issuer | https://idp.example.com/ | The iss your identity provider stamps on the session token your app holds. |
| JWKS URI | https://idp.example.com/.well-known/jwks.json | Used to verify your session token's signature. |
| Audience | app2app.example.com | Checked against your session token's aud claim. |
Your session token must also carry biza-au:auth:user_id (required) and biza-au:auth:principal_id (optional) as top-level claims (see Token exchange trust for details).
Tasksโ
-
You provide the app identifiers above to Biza (bundle ID + Team ID for iOS; package name + signing fingerprint(s) for Android).
-
Biza registers a per-app issuer for the brand, and publishes the AASA (iOS) and
assetlinks.json(Android) files on the brand's authorisation domain mapping the authorise path to your app identifier. If this app is a genuinely distinct consumer app from any other app already registered against this brand, this also means a separate CDR Register brand for it โ see Claiming the authorisation domain for why. -
Biza provides you with the authorisation domain so you can configure Universal Links / App Links.
-
You provide your session-token issuer, JWKS URI and audience for token exchange trust; Biza registers it for the brand (the same onboarding/update step as the AASA registration above, not a separate self-service action).
-
You configure your app to claim the HTTPS domain provided by Biza (iOS Universal Links / Android App Links) and add a deep-link handler that extracts the
request_uri, calls your backend to perform the RFC 8693 token exchange against the Consent API, hosts the consent WebView, and dispatches the recipient's deep link on completion.tipHosting the consent WebView means wiring up the Consent WebView Event Bridge โ the mechanism your shell uses to hand the consent token to the page and receive its completion/failure signal back. See that page for what's settled and what's still coming.
-
You verify your app receives the live association files (iOS queries the AASA, Android queries the Digital Asset Links API).
-
Both run the end-to-end self-test in Yellow test environment, validating the happy path and each fallback (App โ App, Web โ App, App โ Web, Web โ Web).
-
You promote the verified app build and configuration to production (Red).
Outputsโ
- App association files hosted by Biza for the brand, resolving to your app on iOS and Android.
- A per-app issuer and CDR Register brand registered for the app.
- Token exchange trust registered for the brand, so your app's session tokens can be exchanged for a consent-flow access token.
- App-to-App validated end-to-end, with the web OTP flow confirmed as a working fallback.