> For the complete documentation index, see [llms.txt](https://pango.gitbook.io/paas/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pango.gitbook.io/paas/console-details/project-settings/user-authentification-methods.md).

# Authentication methods

## Overview

{% hint style="warning" %}

* **New integrations should use Pango Auth instead.**. Pango Auth provides managed user authentication without requiring you to deploy and maintain your own authentication server. See the [Authentication documentation](/paas/sdk/unified-vpn-sdk/features/authentication.md) for implementation details. The custom plugin approach described below is only supported for existing partners with legacy integrations.
* The "Auth method" tab is visible for the project owner role only
  {% endhint %}

![Auth method overview](/files/wcTDNABlYofPOgFaHinp)

{% hint style="info" %}
Values in the **Auth settings** column are masked by default. Click the <img src="/files/-MlB8Esbel3xl2WT_Cqq" alt="" data-size="line"> button to reveal a value, and the <img src="/files/-MlB8NI02fv1zeW6dxdl" alt="" data-size="line"> button to hide it again.
{% endhint %}

## Methods

Client applications use authentication methods to authenticate users. Each user must be registered in the project.

A project can use more than one authentication method. The Platform supports the following methods.

### Pango Authentication

See [Pango Authentication](/paas/sdk/unified-vpn-sdk/features/authentication.md#pango-authentication)

See [Pango Auth API](https://apidocs.pango-cloud.com/#overview)

### Firebase

Use the `firebase` method to authenticate users with the Google Firebase Authentication Service.

Firebase supports several user sign-in methods, including:

* Email and password
* Phone
* Google
* Facebook
* Microsoft
* Apple

{% hint style="info" %}
If a user signs in on two or more devices using the same account, all of those devices are assigned to that user account.
{% endhint %}

Auth settings

Pango Auth

```
{
    "client_id": "YOUR_CLIENT_ID",
    "client_secret": "YOUR_CLIENT_SECRET",
    "project": "YOUR_PROJECT""
}
```

Firebase

```
{
   "firebase_api_key": "YOUR_FIREBASE_API_KEY"
}
```

Here, \`firebase\_api\_key" is the API key of your Firebase project. To learn how to create a Firebase project, see [Create a Firebase project for User Authentication](/paas/resources/how-to/create-the-firebase-project-for-user-authentication.md)

## Actions

### Add a new auth method

To add a new authentication method to the project:

1. Click the <img src="/files/-M6as_C6h43arRVNKgTa" alt="" data-size="line"> `Add` button. A form opens:

   ![Add auth method dialog](/files/dBVhrvUzSZwDcfY4sOmS)

   Enter the name of the authentication method, "pango" for Pango Auth, "firebase" for Firebase, or other methods, and then enter its settings.
2. Click `New auth method`. The new method appears in the table.

### Edit auth method parameters

To change the settings of an existing authentication method:

1. Select the method and click the "<img src="/files/-M6atk86ByRh9GKWtJuR" alt="" data-size="line">" button. A form opens:

   ![Edit auth method dialog](/files/naLTywg8cw6GI1Yr67EJ)
2. Edit the JSON and click `Edit auth method`.

### Delete auth method

To delete an existing authentication method:

1. Select the method you want to delete and click the "<img src="/files/-M6axeQocKfSIPIp5IMx" alt="" data-size="line">" button. A form opens:

   ![Delete auth method dialog](/files/q2DNGQCqhH2tvSHAUCxC)
2. Click `Delete auth method`.
