<commit_before>---
title: WDC Authentication
layout: docs
---

Many connectors require authentication to connect to a data source.
For these connectors, you must handle authentication in your connector code and create a form interface to prompt users for authentication information.
Separately, the WDC also includes logic that you can use for re-authentication as a convenience.
This topic describes how to re-authenticate users for connectors that have already run.

* TOC
{:toc}

Types of authentication {#auth-types}
-------------------------------------

Authentication types are used to help users re-authenticate.
The WDC API supports the following authentication types:

- `basic`. User name and password authentication.
- `custom`. Other authentication methods, including OAuth for example.<commit_msg>Update wdc_authentication.md<commit_after>---
title: WDC Authentication
layout: docs
---

Many connectors require authentication to connect to a data source.
For these connectors, you must handle authentication in your connector code and create a form interface to prompt users for authentication information.
Separately, the WDC also includes logic that you can use for re-authentication as a convenience.
This topic describes how to re-authenticate users for connectors that have already run.

<div class="alert alert-info">
    <b>Note:</b> Kerberos is currently not supported with a custom Web Data Connector.
</div>

* TOC
{:toc}

Types of authentication {#auth-types}
-------------------------------------

Authentication types are used to help users re-authenticate.
The WDC API supports the following authentication types:

- `basic`. User name and password authentication.
- `custom`. Other authentication methods, including OAuth for example.
{'fraction_non_alphanumeric': 0.09812819058423142, 'fraction_numerical': 0.0, 'mean_word_length': 3.819672131147541, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4594930', 'n_tokens_mistral': 416, 'n_tokens_neox': 395, 'n_words': 220}