# Authentication

Didomi supports three types of providers by default: One-Time Password, Magic Link, and client-server authentication. This documentation covers how to configure different authentication providers at both the organization and widget levels. Additionally, it explains how to implement your authentication workflow in your frontend, depending on the authentication provider set.

**One-Time Password**

One-Time Password involves requesting the end user's email address and sending them an email containing a 6-digit code that they must enter in the widget to log in.

**Magic Link**

Magic Link involves requesting the end user's email address and sending them an email containing a link that will grant them access to the widget.

**Server authentication**

Server authentication involves authenticating the end user from your backend to create a seamless experience in which the end user is already authenticated in your system.

[Manage authentication providers](/api-and-platform/widgets/privacy-widgets/authentication/manage-authentication-providers.md)

[Authenticate your end-user](/api-and-platform/widgets/privacy-widgets/authentication/authenticate-your-end-user.md)


---

# 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://developers.didomi.io/api-and-platform/widgets/privacy-widgets/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.
