Repository navigation
feat(console): add signing certificate fingerprints to Android apps - #14362
Conversation
Passkeys created in an Android app are accepted once its signing certificate fingerprint is on the platform (#14353). The app drawer edits them, and the passkey preview and origin list show the Android origins.
…app drawer Also keeps a long Android origin on one truncated line beside its label.
|
Review complete. 🟡 1 medium 📍 Findings outside the diff (1) — 🟡 1 medium — defects on lines GitHub can't attach comments to🟡 Medium — Platform create/delete skip passkey cache invalidation · projects.ts:1445–1454 · // apps/console/src/lib/react-query/hooks/projects.ts
1445 onSuccess: async () => {
1446 await queryClient.invalidateQueries({
1447 queryKey: ['platforms', projectId],
1448 refetchType: 'all',
1449 })
1450 await queryClient.invalidateQueries({
1451 queryKey: ['project', projectId],
1452 refetchType: 'all',
1453 })
1454 },The PR adds an invalidation of This PR lets Console users attach SHA-256 signing fingerprints to Android platforms so the resulting
Reviewed commit: 05e241c |
🟢 Tier S · Ready to mergeAdds Android signing-certificate fingerprint editing to the app drawer and displays the resulting Android passkey origins in policy views and previews. Updates the Console SDK dependency and adds end-to-end coverage for Android origins and fingerprint validation and saving. Latest changes: The new commits replace regex-based fingerprint parsing, validation, and Base64 URL cleanup with string operations, and await an all-query refresh of auth-security data after platform updates.
📂 Walkthrough · 7
✅ Fixed since the last review · 2
Reviewed the commits since |
…gexes The passkey policy route reads its cache without refetching on mount, so a platform update now refetches it even when inactive. Fingerprint parsing and the base64url conversion use string functions, as the repository requires.
What does this PR do?
Adds the Console side of passkeys for Android apps (#14353).
android:apk-key-hash:…) are listed with an "(Android app)" label, on one truncated line with the full origin on hover. The preview for an unsaved relying party ID derives them the same way the server does.@appwrite.io/consolemoves from18.4.0-rc.1to18.4.0-rc.2. That'src.1plusfingerprintson the Android platform calls and model, and it still hasVideos.The create-app wizard is unchanged; fingerprints are added from the drawer after the app is created.
Test Plan
e2e/console.mocked.passkeys.spec.ts, now 16 tests, all passing:Related: appwrite-labs/cloud#5805