Skip to content

Integrate @stellar/passkey-kit #273

@codeZe-us

Description

@codeZe-us

Integrate @stellar/passkey-kit to create secp256r1 signatures for daily biometric authentication.

Context

Passkeys provide a secure, phishing-resistant alternative to passwords. By integrating @stellar/passkey-kit, VestRoll can offer biometric-based login, significantly improving UX and security for frequent actions.

Implementation Guidelines

Key Files: package.json, src/server/services/auth.service.ts, src/server/db/schema.ts.

  • Install @stellar/passkey-kit as a dependency.
  • Add a publicKey field (type text) to the users table or a separate passkeys table.
  • Implement a method in AuthService to verify passkey signatures during the login flow.

Expectations

What done looks like: Users can register a passkey and use biometrics to authenticate, producing a valid secp256r1 signature.

Discord for any question: codeze_us

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions