fix(passkeys): modify the passkeys request and response shapes#2475
Merged
Conversation
cemalkilic
approved these changes
Apr 10, 2026
fadymak
pushed a commit
that referenced
this pull request
Apr 28, 2026
🤖 I have created a release *beep* *boop* --- ## [2.189.0](v2.188.1...v2.189.0) (2026-04-23) ### Features * add PKCE support for `/resend` ([#2401](#2401)) ([2af904a](2af904a)) * improve parallelization in github workflows and Makefile ([#2436](#2436)) ([9d0c4b3](9d0c4b3)) * **passkeys:** add CAPTCHA to options endpoint for authentication ([#2416](#2416)) ([c7b58be](c7b58be)) * support live reloading of individual rate limits ([#2469](#2469)) ([d03d796](d03d796)) ### Bug Fixes * ensure identities are returned in a consistent order across DB engines ([#2465](#2465)) ([e49a3e5](e49a3e5)) * ensure SSO providers tests are order-independent ([#2466](#2466)) ([983ade6](983ade6)) * exempt PKCE recovery sessions from require-current-password check ([#2502](#2502)) ([7f88985](7f88985)) * **indexworker:** skip index creation on OrioleDB ([#2481](#2481)) ([dd56ae9](dd56ae9)) * **passkeys:** modify the passkeys request and response shapes ([#2475](#2475)) ([2d8f2b6](2d8f2b6)) * prevent reuse of flow state ([#2483](#2483)) ([88dcb2d](88dcb2d)) * return JSON response for unmatched routes instead of plain text ([#2457](#2457)) ([7337e21](7337e21)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Modifies some of the passkeys request/response shapes for a cleaner interface and to better align with industry standards. In particular:
The
/optionsendpoints removes unnecessary nesting (a byproduct of serializing the go-webauthn object directly):becomes:
Rename the
credentialin the/verifyendpoint payload fromcredential_responsetocredential:becomes
Finally, remove the
backed_up,backup_eligible, andtransportsfields from the/verifyresponse upon registration. We can later expose them consistently across the API responses if/when needed.