Skip to main content

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.

info

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 ItemInherits from Primary?Data TypeDescription
iosBundleIdNostringThe iOS bundle identifier of your app (e.g., io.biza.example).
iosTeamIdNostringYour Apple Developer Team ID (e.g., ABCDE12345). Combined with the bundle ID to form the app identifier in the AASA file.
androidPackageNameNostringThe Android application package name (e.g., io.biza.example).
androidSigningFingerprintsNoarray of SHA-256 fingerprintsOne 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.

info

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 ItemInherits from Primary?Data TypeDescription
sessionTokenIssuerNostring (URL)The issuer (iss) your own identity provider stamps on the session token your app already holds.
sessionTokenJwksUriNostring (URL)The JWKS endpoint Biza uses to verify your session token's signature.
sessionTokenAudienceNostringThe 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:

ClaimRequiredDescription
biza-au:auth:user_idYesA stable identifier for the Consumer, matching the userId your Data Adapter already uses.
biza-au:auth:principal_idNoA 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​