Get started implementing passkeys in your software with Contribyard.
@github/webauthn-json
package..env.local
file:
your_contribyard_api_key
with your actual API key from Contribyard.
register.js
page in your Next.js pages
directory for the user registration flow.
pages/api/
directory to interact with Contribyard’s /v1/passkey_attestations
and /v1/passkey_attestations/{id}/verify
endpoints.
register-challenge.js
register.js
login.js
page for user authentication.
/v1/passkey_assertions
and /v1/passkey_assertions/{id}/verify
endpoints.
login-challenge.js
login.js