# Face Authentication

During Enrolment, a user's facial image (selfie) is captured and saved in your systems. This saved image can later be used for various purposes: authentication, transaction verification, or account resets.

* **Authentication**: For logging in, users capture a fresh selfie, which is then compared with the saved facial image. If both images match, the user is granted access to your services.
* **Transaction Verification**: When users initiate actions like bank transfers, they are prompted to take a selfie. Upon a match with the stored image, the transaction proceeds.
* **Account Resets**: If users forget their password, they can opt to reset it by providing a selfie. A match with the saved face image allows them to set a new password.

The flow diagram below shows the participants of the use case and the data flow:

<div data-full-width="true"><figure><img src="/files/Hvnlm0XxjZ0sXLMCihcX" alt=""><figcaption></figcaption></figure></div>

Below you can find the links for each of the three steps for all supported platforms:

<details>

<summary>Android</summary>

1. [Prepare the environment](/docs/kyc/uqudo-sdk/integration/android/prepare-environment.md)
2. [Call the uqudo SDK from your Android app](/docs/kyc/uqudo-sdk/integration/android/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit [Uqudo's GitHub repository](https://github.com/uqudo-com/sample-app-android-kotlin).

</details>

<details>

<summary>iOS</summary>

1. [Prepare the environment](/docs/kyc/uqudo-sdk/integration/ios/prepare-environment.md)
2. [Call the uqudo SDK from your iOS app](/docs/kyc/uqudo-sdk/integration/ios/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit Uqudo's GitHub repository. We provide examples for both [Swift ](https://github.com/uqudo-com/sample-app-ios-swift)and [Objective-C](https://github.com/uqudo-com/sample-app-ios-objectivec).

</details>

<details>

<summary>Web</summary>

1. [Initialise uqudo's Web SDK](/docs/kyc/uqudo-sdk/integration/web.md)
2. [Call the uqudo SDK from your website](/docs/kyc/uqudo-sdk/integration/web/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit [Uqudo's GitHub repository](https://github.com/uqudo-com/sample-app-web-javascript).

</details>

<details>

<summary>Capacitor</summary>

1. [Install uqudo's Capacitor plugin](/docs/kyc/uqudo-sdk/integration/capacitor/plugin-installation.md)
2. [Call the uqudo SDK from your Capacitor app](/docs/kyc/uqudo-sdk/integration/capacitor/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit [Uqudo's GitHub repository](https://github.com/uqudo-com/sample-app-capacitor).

</details>

<details>

<summary>Cordova</summary>

1. [Install uqudo's Cordova plugin](/docs/kyc/uqudo-sdk/integration/cordova/plugin-installation.md)
2. [Call the uqudo SDK from your Cordova app](/docs/kyc/uqudo-sdk/integration/cordova/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit [Uqudo's GitHub repository](https://github.com/uqudo-com/sample-app-cordova).

</details>

<details>

<summary>Flutter</summary>

1. [Install uqudo's Flutter plugin](/docs/kyc/uqudo-sdk/integration/flutter/plugin-installation.md)
2. [Call the uqudo SDK from your Flutter app](/docs/kyc/uqudo-sdk/integration/flutter/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit [Uqudo's GitHub repository](https://github.com/uqudo-com/sample-app-flutter).

</details>

<details>

<summary>React Native</summary>

1. [Install uqudo's React Native plugin](/docs/kyc/uqudo-sdk/integration/react-native/plugin-installation.md)
2. [Call the SDK from your React Native app](/docs/kyc/uqudo-sdk/integration/react-native/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit [Uqudo's GitHub repository](https://github.com/uqudo-com/sample-app-react).

</details>

<details>

<summary>Xamarin</summary>

1. [Install uqudo's Xamarin plugin](/docs/kyc/uqudo-sdk/integration/xamarin/plugin-installation.md)
2. [Call the SDK from your Xamarin app](/docs/kyc/uqudo-sdk/integration/xamarin/face-session-flow.md)
3. [Process the result](/docs/kyc/uqudo-sdk/sdk-result/validation-and-parsing.md)

For example code, please visit [Uqudo's GitHub repository](https://github.com/uqudo-com/sample-app-xamarin).

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uqudo.com/docs/kyc/readme/use-cases/face-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
