# Use Embedded Client Authentication

Follow the steps below to authenticate your customers securely using Clickatell's Embedded Client Authentication.

In both cases, a link is sent to the customer that they must use to authenticate themselves against your chosen identity provider. This navigates to a login page, where the customer enters their credentials to authenticate.

Once you've [configured](https://guides.clickatell.com/embedded-client-authentication-user-guide/configuration/configure-and-update-an-identity-provider-idp) your identity provider (IDP), you can use the functionality on our Chat Flow and/or Chat Desk applications.

{% hint style="info" %}
All the IDPs you've set up in the Clickatell Portal will automatically pull through to your Chat Flow and Chat Desk applications.
{% endhint %}

## **Use OAuth in Chat Flow**

1. [Configure identity providers](https://guides.clickatell.com/embedded-client-authentication-user-guide/configuration/configure-and-update-an-identity-provider-idp) in the Clickatell Portal.
2. [Set up the *OAuth Request* node](https://guides.clickatell.com/flow/user-facing-nodes/input-nodes/oauth-request) in your ChatFlow workflow(s) to authenticate customers.

## **Use OAuth in Chat Desk**

1. [Configure identity providers.](https://guides.clickatell.com/embedded-client-authentication-user-guide/configuration/configure-and-update-an-identity-provider-idp)
2. [Use the *Authentication* extension](https://clickatell.gitbook.io/chat-desk/agent-chat-desk/authenticate-customers) in Chat Desk to authenticate end-users.
