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
Integrate
@stellar/passkey-kitto 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.@stellar/passkey-kitas a dependency.publicKeyfield (type text) to the users table or a separate passkeys table.AuthServiceto 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