Repository navigation
docs: passkeys docs, announcement and changelog - #14389
Conversation
Covers turning passkeys on, the relying party and the origins Appwrite derives from platforms, local development, per-platform setup (web, Android fingerprints and asset links, Apple associated domains), and registration, sign-in and management on web, Flutter, Android, Apple and React Native. Screenshots come from Appwrite Cloud production.
Expired or reused challenges return user_invalid_token, not user_passkey_invalid, and blocked users, relying party changes and rate limits had no entry. Localhost passkeys also lock the relying party ID, deleting a passkey needs a recent sign-in, and the Apple snippet needs unpadded base64url helpers.
The old shots used Google's Credential Manager sample package and relying party, showed a personal org in the Console, and repeated one debug screen five times. They now come from an Ideas demo on ideas-demo.appwrite.network, whose assetlinks.json trusts its own debug key, with focused Console crops, browser and phone frames in light and dark, and a new cover. Also adds a React Native snippet to Manage passkeys, fixes the blog's call count, and commits the blog manifest and cover dimensions.
|
Review complete. No issues found — approved ✅. This PR ships passkeys content for the console: a launch blog post, a dated changelog entry, and a comprehensive docs page covering WebAuthn ceremonies, platform configuration, and limits, plus regenerated build artifacts.
Reviewed commit: 5405653 |
🔵 Tier A · Mergeable after minor fixes
Adds a passkeys guide and announcement covering setup, platform-specific flows, management, and errors, with links from Auth navigation and product content. It also pins the Console API reference specs, refreshes generated content and search metadata, adds changelog imagery, removes the redirect masking the guide, and makes fixed-width Markdoc tables fit narrow screens. Latest changes: The follow-up moves the announcement and changelog dates to October 16, updates the blog manifest order, moves the Android sign-in image ahead of its example, and revises the guide overview and management snippets while removing its browser-helper compatibility note.
Fix with agent prompt### Issue 1
apps/console/src/content/docs/products/auth/passkeys/index.markdoc:120-122
**Keep the browser support note for the JSON helpers**
The updated guide removes the browser-version caveat, but its web examples still call `parseCreationOptionsFromJSON()`, `parseRequestOptionsFromJSON()`, and `toJSON()`. On browsers without these helpers (for example, Safari before 18.4), following the examples throws before the passkey request starts; please retain the compatibility note and fallback guidance.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 19
Reviewed the commits since |
A column without a width shrank to whatever the fixed columns left, so on a phone the cause column of a table with a 300px code column collapsed to a few characters per line. Tables with fixed columns now get a minimum width that leaves each fill column 192px, and scroll sideways when the screen is narrower.
The errors and origins tables broke codes like user_reauthentication_required mid-word, so they now use fixed-width columns, and the origins table drops to three columns. Blog screenshots sat at full column width, so the tall dialog, drawer and phone pair each took a whole screen; they now sit on a 16:9 stage.
The Cloud API reference reads specs 2.4.x, whose passkey policy still took origins. appwrite/specs#128 and #129 match latest and 2.4.x to the SDKs released with passkeys.
The passkey button test left automatic presence on after the first prompt, so revisiting sign-in with a resident passkey let the conditional autofill request sign in and redirect before the button assertion ran. Presence now stays off until the prompt's challenge, as in the first half of the test.
# Conflicts: # apps/console/e2e/console.mocked.passkeys.spec.ts # apps/console/src/content/changelog/entries/2026-10-12.markdoc # apps/console/src/lib/blog/generated/manifest.ts
Rebuilds every passkeys docs image at 1460x822 @2x in light and dark, adds a how-it-works diagram with simpler wording, redraws the blog cover, moves the Android sign-in image under its heading, comments the manage passkeys snippets, drops the browser version note, and dates the blog and changelog 2026-10-16.
| Browsers need no other setup. Passkeys work on HTTPS origins on the default port, and on `http://localhost` on any port for development. | ||
|
|
||
| ## Android {% #android %} |
There was a problem hiding this comment.
Keep the browser support note for the JSON helpers
The updated guide removes the browser-version caveat, but its web examples still call parseCreationOptionsFromJSON(), parseRequestOptionsFromJSON(), and toJSON(). On browsers without these helpers (for example, Safari before 18.4), following the examples throws before the passkey request starts; please retain the compatibility note and fallback guidance.
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/console/src/content/docs/products/auth/passkeys/index.markdoc
Line: 120-122
Comment:
**Keep the browser support note for the JSON helpers**
The updated guide removes the browser-version caveat, but its web examples still call `parseCreationOptionsFromJSON()`, `parseRequestOptionsFromJSON()`, and `toJSON()`. On browsers without these helpers (for example, Safari before 18.4), following the examples throws before the passkey request starts; please retain the compatibility note and fallback guidance.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · documentation · Reply if this doesn't apply.
# Conflicts: # apps/console/bun.lock # apps/console/package.json # apps/console/src/lib/blog/generated/manifest.ts
What does this PR do?
Docs, an announcement post and a changelog entry for passkeys.
/docs/products/auth/passkeys(the Console already links here):localhost, and how localhost passkeys lock the relying party IDassetlinks.json; Apple with associated domains,apple-app-site-associationand a base64url helperuser_invalid_token), blocked users, relying party changes and rate limits/blog/post/announcing-passkeysand a changelog entry./docs/products/auth/passkeys→/docs/products/authredirect, which would otherwise hide the page.2026-10-13-1, because main's2026-10-12entry is the function intervals one.Preview
Deployed from this branch to an Appwrite Site (Cloud, SGP):
API reference
The Console's Cloud API reference reads
@appwrite.io/specs. This PR pins it to06e6faf, which includes appwrite/specs#128 and appwrite/specs#129:project.updatePasskeyPolicystill tookorigins, from self-hosted 2.4.0. It now takesrpIdalone, required, like every released SDK, and the examples come from the released SDKs.This PR also fixes a race in #14400's
signs in to the console with the passkey buttone2e test. It failed on every run locally, onmaintoo, and failed here on CI. Automatic presence stayed on after the first prompt, so on the second visit to sign-in, autofill signed in with the new passkey before the button assertion ran.Rendered from this branch in the Console:
account.createPasskeyaccount.updatePasskeyTokenproject.updatePasskeyPolicyusers.listPasskeysScreenshots: production end to end
Every screenshot comes from Appwrite Cloud production, using Ideas, a small demo app built for these docs. It runs on its own relying party,
ideas-demo.appwrite.network: an Appwrite Site that serves the app and anassetlinks.jsontrusting the demo's debug key (verified with Google's Digital Asset Links API). The web, Kotlin and Flutter clients all run the exact snippets from the docs.https://ideas-demo.appwrite.networkand onhttp://localhost:5173.passkeys2.23.1 on the same emulator.apple-app-site-associationon the domain.mainplus fix(console): keep long passkey origins inside the enable dialog #14395, with every API call forwarded to production. Every image has a light and a dark version.Related
transportsin passkey credential descriptors. Without it, the Flutterpasskeyspackage crashes when a user who already has a passkey registers another.Related: appwrite-labs/cloud#5805