> For the complete documentation index, see [llms.txt](https://docs.e6data.com/query-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.e6data.com/query-engine/guides/security/authentication.md).

# Authentication

How users sign in to e6data - local accounts, single sign-on, and TLS.

e6data supports multiple authentication methods. Most production tenants use SSO via an identity provider; local accounts are also available.

## Sign-in methods

| Method                   | Use case                                                                                          |
| ------------------------ | ------------------------------------------------------------------------------------------------- |
| **Local accounts**       | Default for new tenants; users sign in with email + a one-time passcode (OTP) sent to their inbox |
| **Single Sign-On (SSO)** | Recommended for organizations with an existing IdP                                                |
| **Service Token**        | Programmatic access - REST API                                                                    |

## In this section

* [Single sign-on](/query-engine/guides/security/authentication/sso-setup.md) - supported IdPs and setup guides
* [Domain auto-join and JIT provisioning](/query-engine/guides/security/authentication/domain-auto-join-and-jit.md) - auto-join by email domain and provision SSO users on first sign-in
* [TLS certificates](/query-engine/guides/security/authentication/tls-certificates.md) - endpoint certificate management

## SSO is recommended

For any tenant with more than a few users, configure SSO. It:

* Centralizes user lifecycle in your IdP - a user deactivated there can no longer sign in or refresh tokens; existing sessions stay valid until they expire (refresh-token TTL defaults to 24 hours)
* Captures your IdP's group claims at sign-in - e6data roles are still assigned in access-control settings, not auto-mapped from IdP groups
* Integrates with your existing MFA, conditional access, and compliance policies

See [Single sign-on](/query-engine/guides/security/authentication/sso-setup.md) for supported providers.

## Authentication vs authorization

| Concept                                                                                  | What it controls                                 |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------ |
| **Authentication** (this section)                                                        | Who you are - proves identity at sign-in         |
| **Authorization** ([Access control](/query-engine/guides/security/identity-and-rbac.md)) | What you can do - controls actions after sign-in |

Both work together: authentication establishes identity; access control determines what that identity can read, edit, or run.

## See also

* [Access control](/query-engine/guides/security/identity-and-rbac.md)
* [Personal access tokens](/query-engine/guides/security/access-tokens/pat-and-service-account-keys.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.e6data.com/query-engine/guides/security/authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
