mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 17:35:12 +00:00
feat: native app links for passkeys (#12580)
# Which Problems Are Solved - Native iOS/Android passkeys need OS trust files on the ZITADEL domain; without them, Associated Domains / App Links verification fails. - Operators could not configure iOS Team ID + Bundle ID or Android package name + SHA-256 fingerprints on OIDC apps. - `/.well-known/apple-app-site-association` and `/.well-known/assetlinks.json` were not served from application config. # How the Problems Are Solved - Add iOS/Android app-link fields on OIDC app create/update (Application API v2 + Management), with validation. - Persist and project those fields; query active app-link configs instance-wide. - Serve AASA (`webcredentials`) and Digital Asset Links (`get_login_creds`) from well-known paths, with configurable `Cache-Control` and fingerprint normalization at serve time. - Console UI to edit the fields, with links to the well-known endpoints. - Operator docs for configuration, endpoints, caching, and verification. # Additional Changes - Document on API fields that well-known responses may be HTTP-cached and platform verifiers may delay propagation. - Runtime config: `WellKnown.AppLinksCacheControlMaxAge` (default `5m`; `0` → `no-store`). # Additional Context - Closes #12497 - Implemented and reviewed as stack: - #12531 API contract - #12532 storage wiring - #12536 well-known endpoints - #12537 console - #12547 docs --------- Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2612,6 +2612,25 @@
|
||||
"DEVMODEDESC": "Atenție: Cu modul de dezvoltare activat, URI-urile de redirecționare nu vor fi validate.",
|
||||
"SKIPNATIVEAPPSUCCESSPAGE": "Omiteți pagina de succes la conectare",
|
||||
"SKIPNATIVEAPPSUCCESSPAGE_DESCRIPTION": "Omiteți pagina de succes după o conectare pentru această aplicație nativă.",
|
||||
"APPLINKSSECTION": "Linkuri pentru aplicații native",
|
||||
"APPLINKSDESC": "Configurați asocierea iOS și Android pentru ca această instanță să poată servi fișierele de încredere passkey pentru aplicațiile dvs. native.",
|
||||
"IOSTITLE": "iOS",
|
||||
"IOSDESC": "Servit în apple-app-site-association ca intrare webcredentials TEAMID.BUNDLEID.",
|
||||
"TEAMID": "Team ID",
|
||||
"TEAMIDPLACEHOLDER": "ABCDE12345",
|
||||
"TEAMIDDESC": "Apple Team ID trebuie să aibă exact 10 caractere alfanumerice, de ex. ABCDE12345.",
|
||||
"TEAMIDLENGTH": "Team ID trebuie să aibă exact 10 caractere alfanumerice.",
|
||||
"BUNDLEID": "Bundle ID",
|
||||
"BUNDLEIDPLACEHOLDER": "com.example.app",
|
||||
"BUNDLEIDDESC": "Identificatorul de bundle iOS (CFBundleIdentifier), de ex. com.example.app. Nu includeți prefixul Team ID.",
|
||||
"ANDROIDTITLE": "Android",
|
||||
"ANDROIDDESC": "Servit în assetlinks.json pentru Digital Asset Links / acreditări passkey.",
|
||||
"PACKAGENAME": "Numele pachetului",
|
||||
"PACKAGENAMEPLACEHOLDER": "com.example.app",
|
||||
"PACKAGENAMEDESC": "Android applicationId / numele pachetului, de ex. com.example.app.",
|
||||
"FINGERPRINTS": "Amprente de certificat SHA-256",
|
||||
"FINGERPRINTSPLACEHOLDER": "AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99",
|
||||
"FINGERPRINTSDESC": "O amprentă pe linie (64 caractere hexazecimale, două puncte opționale). Includeți debug și release după nevoie.",
|
||||
"REDIRECT": "URI-uri de redirecționare",
|
||||
"REDIRECTSECTION": "URI-uri de redirecționare",
|
||||
"POSTLOGOUTREDIRECT": "URI-uri de redirecționare după deconectare",
|
||||
@@ -2675,7 +2694,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"BACKCHANNELLOOGOUTURI": "Back-Channel Logout URI"
|
||||
"BACKCHANNELLOOGOUTURI": "Back-Channel Logout URI",
|
||||
"IOSAPPLINKINCOMPLETE": "Team ID și Bundle ID iOS trebuie setate împreună sau ambele lăsate goale.",
|
||||
"ANDROIDPACKAGEREQUIRED": "Numele pachetului Android este obligatoriu când sunt setate amprentele certificatului."
|
||||
},
|
||||
"API": {
|
||||
"INFO": {
|
||||
|
||||
Reference in New Issue
Block a user