Initiate the process of creating a new Passkey or WebAuthn registration.
To optimize for Passkeys, set the return_passkey_credential_options field to true.
After calling this endpoint, the browser will need to call navigator.credentials.create() with the data from public_key_credential_creation_options passed to the navigator.credentials.create() request via the public key argument.
When using built-in browser methods like navigator.credentials.create(), set the use_base64_url_encoding option to true.
See our WebAuthn setup guide for additional usage instructions and example code.