Skip to content

docs: passkeys docs, announcement and changelog - #14389

Merged
atharvadeosthale merged 13 commits into
mainfrom
docs/passkeys
Oct 16, 2026
Merged

atharvadeosthale merged 13 commits into
mainfrom
docs/passkeys

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Docs, an announcement post and a changelog entry for passkeys.

  • Docs page /docs/products/auth/passkeys (the Console already links here):
    • how passkeys work, and the relying party
    • where passkeys work, derived from platforms
    • turning passkeys on in the Console or with a server SDK
    • local development on localhost, and how localhost passkeys lock the relying party ID
    • setup for each platform: web (with browser support for the JSON helpers); Android with signing certificate fingerprints and assetlinks.json; Apple with associated domains, apple-app-site-association and a base64url helper
    • registration, sign-in and management on Web, Flutter, Android, Apple and React Native
    • every error a passkey flow can return, including expired challenges (user_invalid_token), blocked users, relying party changes and rate limits
  • Announcement /blog/post/announcing-passkeys and a changelog entry.
  • Navigation: a Passkeys entry in the auth sidebar, a card on the auth overview, and an FAQ on the auth product page.
  • Redirect: removes the old /docs/products/auth/passkeys → /docs/products/auth redirect, which would otherwise hide the page.
  • Availability: the docs page, the announcement and the changelog say passkeys are available on Appwrite Cloud and on self-hosted Appwrite 2.5 or later. The changelog entry is 2026-10-13-1, because main's 2026-10-12 entry 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 to 06e6faf, which includes appwrite/specs#128 and appwrite/specs#129:

  • Passkey policy: the old pin's project.updatePasskeyPolicy still took origins, from self-hosted 2.4.0. It now takes rpId alone, required, like every released SDK, and the examples come from the released SDKs.
  • Unreleased methods: the reference no longer lists server or client methods that none of the passkey SDK releases ship, such as email and recovery OTP on server SDKs, avatar photo updates, the Appwrite messaging provider, Kakao/TikTok/Webflow OAuth2, and the pwned password policy.

This PR also fixes a race in #14400's signs in to the console with the passkey button e2e test. It failed on every run locally, on main too, 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:

Web: account.createPasskey Android: account.updatePasskeyToken
Web createPasskey Android updatePasskeyToken
Node.js: project.updatePasskeyPolicy Node.js: example Node.js: users.listPasskeys
Node.js updatePasskeyPolicy Node.js updatePasskeyPolicy example Node.js users.listPasskeys

Screenshots: 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 an assetlinks.json trusting 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.

Turn on passkeys Where passkeys work Android fingerprints
Enable passkeys Relying party Android fingerprints
Android: register Android: sign in
Android register Android sign in
Local development Manage passkeys Flutter
Local development Manage passkeys Flutter passkeys
  • Web: Chromium with a virtual authenticator, on https://ideas-demo.appwrite.network and on http://localhost:5173.
  • Android: an Android 16 emulator using the real Credential Manager and asset-links check, with a generated Android SDK.
  • Flutter: the generated Flutter SDK and passkeys 2.23.1 on the same emulator.
  • iOS: documented without a simulator run. It needs an Apple team and apple-app-site-association on the domain.
  • Console shots come from the Console on main plus 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.

Cover

Related

Related: appwrite-labs/cloud#5805

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.
@luxor-code-review

luxor-code-review Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

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.

Files Change
apps/console/src/content/blog/posts/announcing-passkeys.markdoc, src/content/changelog/entries/2026-10-12.markdoc New announcement post and changelog entry for passkeys support
apps/console/src/content/docs/products/auth/passkeys/index.markdoc, src/content/docs/products/auth/index.markdoc New passkeys docs page (setup, WebAuthn samples, limits) and updated auth docs index
apps/console/src/lib/blog/generated/manifest.ts, src/lib/docs/generated/manifest.ts, src/lib/docs/generated/search-index.ts, src/lib/docs/navigation/local-sections.ts Regenerated content manifests, search index, and navigation for the new page
apps/console/src/lib/products/content/auth.ts, src/lib/seo/inbound-redirects.ts, src/lib/seo/cover-dimensions.json Auth product content updates and SEO metadata adjustments
apps/console/public/images/blog/announcing-passkeys/*, apps/console/public/images/docs/auth/passkeys/* New light/dark .avif image assets for the blog post and docs page

Reviewed commit: 5405653

@ghost

ghost commented Oct 12, 2026 •

Copy link
Copy Markdown

🔵 Tier A · Mergeable after minor fixes

The PR has one minor documentation regression: the web examples no longer warn about browsers that lack the WebAuthn JSON helper methods they use.

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.

Verdict New comments Fixed Still open
✅ Approved 1 0 0
Finding Where
🟡 Keep the browser support note for the JSON helpers apps/console/src/content/docs/products/auth/passkeys/index.markdoc:120
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
File Change
apps/console/package.json, apps/console/bun.lock Pins the Console API specs revision that exposes the released passkey API surface.
apps/console/src/content/docs/products/auth/passkeys/index.markdoc Adds the passkeys guide with relying-party, platform setup, local development, registration, sign-in, management, and error details, plus cross-platform examples and screenshots.
apps/console/src/content/blog/posts/announcing-passkeys.markdoc, apps/console/src/content/changelog/entries/2026-10-16.markdoc Adds the passkeys announcement and changelog entry, with the follow-up updating their publication dates and screenshot placement.
apps/console/src/content/docs/products/auth/index.markdoc, apps/console/src/lib/docs/navigation/local-sections.ts, apps/console/src/lib/products/content/auth.ts Links to the guide from Auth documentation and adds a passkeys FAQ.
apps/console/src/lib/blog/generated/manifest.ts, apps/console/src/lib/docs/generated/manifest.ts, apps/console/src/lib/docs/generated/search-index.ts Registers the announcement and guide in generated metadata and search, including the updated blog ordering.
apps/console/src/lib/docs/markdoc-table.ts, apps/console/src/components/pages/docs/markdoc/Nodes.tsx, apps/console/tests/unit/markdoc-table.test.ts Calculates and applies minimum widths for fixed-width Markdoc table columns, with unit coverage.
apps/console/src/lib/seo/inbound-redirects.ts Removes the redirect that previously masked the passkeys guide route.
apps/console/src/lib/seo/cover-dimensions.json, apps/console/public/images/blog/announcing-passkeys/, apps/console/public/images/docs/auth/passkeys/ Adds announcement cover metadata and passkey guide and blog imagery in light and dark variants.
apps/console/src/lib/seo/cover-dimensions.json Adds dimensions for the announcement cover image.
apps/console/src/lib/products/content/auth.ts Adds a passkeys FAQ to Auth product content.
apps/console/src/components/pages/docs/markdoc/Nodes.tsx Applies a calculated minimum width to Markdoc tables with fixed-width columns.
apps/console/src/content/blog/posts/announcing-passkeys.markdoc Adds the passkeys announcement post.
apps/console/src/content/docs/products/auth/index.markdoc Links to the passkeys guide from the Auth overview.
apps/console/src/lib/blog/generated/manifest.ts Registers the announcement in the generated blog manifest.
apps/console/src/lib/docs/generated/manifest.ts Registers the passkeys guide in the generated docs manifest.
apps/console/src/lib/docs/generated/search-index.ts Adds the passkeys guide to the generated docs search index.
apps/console/src/lib/docs/markdoc-table.ts Adds the shared minimum-width calculation for Markdoc tables with fixed-width columns.
apps/console/src/lib/docs/navigation/local-sections.ts Adds Passkeys to the Auth documentation navigation.
apps/console/tests/unit/markdoc-table.test.ts Tests minimum widths for fixed and fill columns in Markdoc tables.

Reviewed the commits since bff36ca · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

ChiragAgg5k and others added 7 commits October 12, 2026 18:55
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.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · Looks good to merge. Summary

Comment on lines +120 to +122
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 %}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@atharvadeosthale
atharvadeosthale merged commit 65b0d20 into main Oct 16, 2026
31 of 34 checks passed
@atharvadeosthale
atharvadeosthale deleted the docs/passkeys branch October 16, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants