Authorization: Bearer ********************
curl --location --request GET 'https://api.ssojet.com/api/v1/auth/passwordless/passkey/register?client_id=' \
--header 'accept: */*' \
--header 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0' \
--header 'x-client-id: string' \
--header 'User-Agent: SSOjet/1.0.0 (https://ssojet.com)' \
--header 'Content-Type: application/json'
{
"auth_code": "6694ba22295723f812d44565",
"publicKey": {
"rp": {
"name": "127.0.0.1",
"id": "127.0.0.1"
},
"user": {
"name": "asdasdsadsa@mail7.io",
"displayName": "asdasdsadsa@mail7.io",
"id": "NjY5NGI4YWI5YjQxZDNjYTAxZTU4MGQz"
},
"challenge": "fiea4RXduN3c8ibndqqUMOXR9QbMtFsr5ETHP_ceQH8",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": -7
},
{
"type": "public-key",
"alg": -35
},
{
"type": "public-key",
"alg": -36
},
{
"type": "public-key",
"alg": -257
},
{
"type": "public-key",
"alg": -258
},
{
"type": "public-key",
"alg": -259
},
{
"type": "public-key",
"alg": -37
},
{
"type": "public-key",
"alg": -38
},
{
"type": "public-key",
"alg": -39
},
{
"type": "public-key",
"alg": -8
}
],
"timeout": 300000,
"authenticatorSelection": {
"authenticatorAttachment": "platform",
"requireResidentKey": true,
"residentKey": "required",
"userVerification": "preferred"
},
"attestation": "none"
}
}