Sends the sign requests to JSAPI to activate the U2F device plugged in to the system. Locally installed Device Service handles this request. When this API is executed, the device blinks. User who is physically present is required to accept the challenge by tapping or touching on the blinking device. Finally, some details such as signature, client data, and key handle are fetched when the user taps the device.
POST https://127.0.0.1:8441/api/v1/fidou2f/sign
{
"signRequests":
[{
"version":"U2F_V2",
"appId":"https://drbiomtdevap2v.alrajhi.bank",
"keyHandle":"dzdh2h3JCUD-hJdZ8W-CR-SGtOmUikx01l1l3gCzxCloFTFNLdeVtCD4UpeEnswbcKp_OtQvUt0N2AeAH735pA",
"challenge":"LRHPyefadFFXd9arONRK1ViXbuyEz59Ekqoqx0yMAx0"
}]
}
{
"signatureData": "AQAAAXwwRQIhALtnK0-DhFVyW3SqRtvNmdY4-nkNQSlj2znH59v5NrhgAiAwXGWmSG7J_Z4-2GM0OzUAYHc829uAm4cDGTAx3Wc7BA",
"clientData": "eyAiY2hhbGxlbmdlIjogIkxSSFB5ZWZhZEZGWGQ5YXJPTlJLMVZpWGJ1eUV6NTlFa3FvcXgweU1BeDAiLCAib3JpZ2luIjogImh0dHBzOlwvXC9kcmJpb210ZGV2YXAydi5hbHJhamhpLmJhbmsiLCAidHlwIjogIm5hdmlnYXRvci5pZC5nZXRBc3NlcnRpb24iIH0",
"keyHandle": "dzdh2h3JCUD-hJdZ8W-CR-SGtOmUikx01l1l3gCzxCloFTFNLdeVtCD4UpeEnswbcKp_OtQvUt0N2AeAH735pA"
}