App-to-App redirect
Related Feature: Redirect to App (app2app) Support
To enable the App-to-App Redirect Flow for a brand, Biza hosts the app association files (iOS AASA and Android assetlinks.json) that map the authorisation path to your app, and registers a per-app issuer for the brand. You provide the app store identifiers that these files are built from.
These settings are configured per brand and are first set at onboarding. They can be updated later in HaaS Manager, for example, when an Android signing certificate is rotated.
Configuration itemsβ
| Configuration Item | Inherits from Primary? | Data Type | Description |
|---|---|---|---|
| iosBundleId | No | string | The iOS bundle identifier of your app (e.g., io.biza.example). |
| iosTeamId | No | string | Your Apple Developer Team ID (e.g., ABCDE12345). Combined with the bundle ID to form the app identifier in the AASA file. |
| androidPackageName | No | string | The Android application package name (e.g., io.biza.example). |
| androidSigningFingerprints | No | array of SHA-256 fingerprints | One or more SHA-256 certificate fingerprints of the signing key(s) used to sign the app, published in assetlinks.json. Supply all fingerprints in use (e.g., upload key and Play App Signing key). |
Token exchange trustβ
The RFC 8693 token exchange that your app performs requires Biza to verify your own session token before exchanging it. This is separate from the AASA/App Links identifiers above and has its own configuration items.
Unlike the AASA/App Links identifiers above, token exchange trust is registered by Biza during onboarding or an update, and is not editable in HaaS Manager. It is the material used to verify your own session tokens before they are exchanged, so it goes through the same review as every other trust boundary in your configuration.
| Configuration Item | Inherits from Primary? | Data Type | Description |
|---|---|---|---|
| sessionTokenIssuer | No | string (URL) | The issuer (iss) your own identity provider stamps on the session token your app already holds. |
| sessionTokenJwksUri | No | string (URL) | The JWKS endpoint Biza uses to verify your session token's signature. |
| sessionTokenAudience | No | string | The audience value registered for this brand's token exchange, checked against your session token's aud claim. |
Your session token must also carry the following claims, which Biza checks before issuing a consent token:
| Claim | Required | Description |
|---|---|---|
biza-au:auth:user_id | Yes | A stable identifier for the Consumer, matching the userId your Data Adapter already uses. |
biza-au:auth:principal_id | No | A stable identifier for the Principal the Consumer is acting for, if your own UX has already resolved one. Omit it and the Consumer is prompted to choose in the hosted consent page instead. |
Your backend calls the token exchange with a Consent API credential holding the biza-au:haas:consent:exchange scope.
See the Scopes and roles reference for every scope and claim HaaS uses.
Runsheetsβ
- The App-to-App Registration runsheet must be completed for each brand that offers App-to-App.