---
title: Kerberos authentication
description: You can use Kerberos for authentication in PingOne.
component: pingone
page_id: pingone:integrations:p1_kerberos_authentication
canonical_url: https://docs.pingidentity.com/pingone/integrations/p1_kerberos_authentication.html
revdate: July 9, 2024
section_ids:
  prerequisites: Prerequisites
  known-limitations: Known limitations
  end-user-authentication-flow: End user authentication flow
  result: Result:
---

# Kerberos authentication

If you are using Microsoft Active Directory as your Lightweight Directory Access Protocol (LDAP) *(tooltip: \<div class="paragraph">
\<p>An open, cross platform protocol used for interacting with directory services.\</p>
\</div>)* user store, PingOne authenticates users against the Active Directory user store using Kerberos authentication.

|   |                                                                                                                                                                                                                                                                          |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|   | Because Microsoft Active Directory is the only directory that supports Kerberos for authentication, when you add the gateway connection, select **Microsoft Active Directory** for **Directory type**. Learn more in [Adding an LDAP gateway](p1_add_ldap_gateway.html). |

## Prerequisites

If you are using Kerberos for authentication with Active Directory, ensure that you have:

* A new or existing service account with a User Principal Name.

* A [service principal name (SPN)](p1_creating_spns.html).

* A higher encryption enabled on the service account. This must be configured with AES 128 bit or 256 bit encryption.

  To configure encryption in Kerberos:

  1. Start **Active Directory Users and Computers**.

  2. View the properties of the service account for the gateway.

  3. Click the **Account** tab.

  4. In the **Account Options** section, select one or both of the following:

     * **Kerberos AES 128 bit encryption**

     * **Kerberos AES 256 bit encryption**

## Known limitations

When an Active Directory user is a member of a large number of groups, they might receive a `413 Request Entity Too Large` response during Kerberos authentication. As a user is added to more groups, the size of the Kerberos ticket increases and can exceed the limitations of the PingOne infrastructure.

To resolve this:

* Remove the user from extraneous groups.

* Fallback to sign on with username and password when Kerberos fails.

## End user authentication flow

With Kerberos authentication properly configured, the end user authentication flow behaves as follows:

|   |                                                                                                                                                                                                      |
| - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | To authenticate users through Kerberos using DaVinci, learn more in [PingOne Connector](https://docs.pingidentity.com/connectors/p1_connector.html) in the PingOne DaVinci Connectors documentation. |

1. PingOne authenticates the end-user through Kerberos.

   This is a seamless experience and requires no user interaction.

   ## Result:

   * If Kerberos authentication succeeds, the sign on step is complete.

   * If Kerberos authentication fails, PingOne authenticates the end user by showing the sign-on page with user name and password fields.

     After the end user provides the correct credentials, the sign on step is complete.

2. If the authentication policy has an multi-factor authentication (MFA) *(tooltip: \<div class="paragraph">
   \<p>An electronic authentication method where a user is granted access only after presenting two or more verification factors for authentication.\</p>
   \</div>)* step, the following can occur:

   * The end user completes all the MFA steps successfully and PingOne redirects them to the target application browser.

   * The end user fails to provide the correct credentials and PingOne returns a sign-on error to the browser.

The following illustration shows the authentication flow.

![A diagram of the Kerberos authentication flow.](_images/ley1658174031484.png)
