Dev's NoxDev's Nox
Auth

Start passkey registration

Return the creation options (challenge) to feed into navigator.credentials.create().

POST
/api/auth/passkey/register/options

Response Body

application/json

application/json

curl -X POST "https://loading/api/auth/passkey/register/options"
{
  "data": {
    "ceremony_id": "string",
    "options": {}
  },
  "error": null,
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}