This project is minimal in-memory passkey server to be used with ZeroDev passkey applications.
It implements the protocol expected by the @zerodev/webauthn-key library.
The protocol is not formally specified but there is some documentation about it.
Before running the application, ensure you have the following installed:
To set up the project, clone the repository and install dependencies:
git clone git@github.com:cartesi/passkey-server.git
cd passkey-server
pnpm i
To start the server, run the following command:
pnpm run dev
This will start the server on the default port. To select a different port use the --port
option.
The server does not use any persistence to store credentials. So if you try to login with an existing passkey stored in your device, but that has not been registered with the passkey-server it won't work.