Skip to content

feat(chore): adding optional credentials parameter so passkey signing can skip passkey dialog#177

Closed
githubdoramon wants to merge 6 commits intomatter-labs:mainfrom
sophon-org:feat/20250825_passkey_connector
Closed

feat(chore): adding optional credentials parameter so passkey signing can skip passkey dialog#177
githubdoramon wants to merge 6 commits intomatter-labs:mainfrom
sophon-org:feat/20250825_passkey_connector

Conversation

@githubdoramon
Copy link

Description

Adds an additional parameter to passkey authentican flow, allowing developer to pass a credentials object (stored from the passkey registration), in order for passkey signing to not require the passkey selection dialog to be shown to user.

Additional context

Highly improves signing UX with passkeys

@cpb8010 cpb8010 requested a review from Copilot September 4, 2025 14:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an optional credentials parameter to the passkey authentication flow, allowing developers to skip the passkey selection dialog by providing a pre-stored credential object from passkey registration.

  • Adds optional credential parameter to authentication interfaces and functions
  • Modifies authentication options to use the provided credential when available
  • Updates the client configuration to accept the optional credential parameter

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/sdk/src/client/passkey/client.ts Adds credential parameter to client config and passes it to authentication request
packages/sdk/src/client/passkey/actions/passkey.ts Updates authentication function to accept and use optional credential parameter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Thank you copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
JackHamer09
JackHamer09 previously approved these changes Sep 5, 2025
cpb8010
cpb8010 previously approved these changes Sep 9, 2025
Copy link
Contributor

@cpb8010 cpb8010 left a comment

Choose a reason for hiding this comment

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

Yes, great improvement if you have the passkey managed outside of the SDK!

@githubdoramon githubdoramon dismissed stale reviews from cpb8010 and JackHamer09 via f9f6e68 September 9, 2025 17:02
Copy link
Contributor

@cpb8010 cpb8010 left a comment

Choose a reason for hiding this comment

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

still good

@cpb8010 cpb8010 mentioned this pull request Sep 10, 2025
@githubdoramon
Copy link
Author

Closing as another PR was created for this

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.

4 participants