Skip to main content
POST
Begin Passkey Enrollment

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

id
string
obrigatório

Caller's own User ID.

Exemplo:

"00000000-0000-0000-0000-000000000000"

Resposta

OK

enrollmentToken
string
obrigatório

Names this enrollment. Send it back to POST /v1/users/{id}/passkeys/finish within 5 minutes; it works once.

Exemplo:

"Zm9vYmFyLWVucm9sbG1lbnQtdG9rZW4tZXhhbXBsZQ"

options
any
obrigatório

The WebAuthn creation options (publicKey) to pass to navigator.credentials.create, exactly as the identity provider wrote them.