Skip to content

Commit fd6a06f

Browse files
author
Jinyu Li
committed
add section of handling URL
1 parent 353961e commit fd6a06f

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

articles/ai-services/computer-vision/concept-face-liveness-quick-link.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,21 @@ You can use the liveness quick link website, `liveness.face.azure.com`, to turn
114114
--header 'authorization: Bearer <session-authorization-token>'
115115
```
116116

117-
---
118117

119-
The following is an example response:
118+
The following is an example response:
120119

121-
```json
122-
{
123-
"url": "/?s=60c3980c-d9f6-4b16-a7f5-f1f4ad2b506f"
124-
}
125-
```
120+
```json
121+
{
122+
"url": "/?s=60c3980c-d9f6-4b16-a7f5-f1f4ad2b506f"
123+
}
124+
```
125+
126+
Use that value to construct the liveness quick link web page: `https://liveness.face.azure.com/?s=60c3980c-d9f6-4b16-a7f5-f1f4ad2b506f`
127+
128+
3. Send the link to the user. You can redirect the browser, show a button, or display a QR code—anything that lets the user open the link on a camera-enabled device.
129+
4. Azure hosts the capture experience. When the link opens, the Azure-operated page guides the user through the liveness check sequence using the latest Liveness web client.
130+
5. Get the outcome callback. As soon as the check finishes—or if the user abandons or times out—the quick link service notifies your callback endpoint so your application can decide what happens next.
126131

127-
Use that value to construct the liveness quick link web page: `https://liveness.face.azure.com/?s=60c3980c-d9f6-4b16-a7f5-f1f4ad2b506f`
132+
## Quick link URL handling
128133

129-
1. Send the link to the user. You can redirect the browser, show a button, or display a QR code—anything that lets the user open the link on a camera-enabled device.
130-
1. Azure hosts the capture experience. When the link opens, the Azure-operated page guides the user through the liveness check sequence using the latest Liveness web client.
131-
1. Get the outcome callback. As soon as the check finishes—or if the user abandons or times out—the quick link service notifies your callback endpoint so your application can decide what happens next.
134+
The URL returned by the quick link service is a bearer secret: anyone who possesses the link can initiate, complete, or cancel the associated liveness session. If a malicious party intercepts the link before the intended user opens it, they can consume or spoof the session and prevent the legitimate user from completing the check—creating a repudiation and impersonation risk rather than exposing biometric data. To minimize this risk, transmit the link only over protected channels, avoid persisting it in logs or analytics, and, when possible, lowering lifetime of the liveness session.

0 commit comments

Comments
 (0)