Re-usable components built using Radix UI and Tailwind CSS.
This endpoint allows you to create a new User Sonr Identity by using the Service Record on chain as the Relaying party. Refer to the list at the top of this page to see which properties are used to create the Relaying party object.
alias
The doman alias for the new user account
curl https://core.build/service/localhost/register/start \ -d alias=test.snr
{
"alias": "admin",
"attestion_options": {
"publicKey": {
"rp": {
"name": "Localhost",
"id": "localhost"
},
"user": {
"name": "Localhost",
"displayName": "admin",
"id": "YWRtaW4="
},
"challenge": "Ykc5allXeG9iM04w",
"pubKeyCredParams": [{
"type": "public-key",
"alg": -7
}],
"timeout": 60000,
"authenticatorSelection": {
"authenticatorAttachment": "cross-platform",
"residentKey": "preferred",
"userVerification": "required"
},
"attestation": "direct"
}
},
"origin": "localhost"
}