# Authentication flows

## Introduction

There are three different ways users of Exivity can be authenticated. The default method is local authentication which uses local users managed through Exivity (either via the GUI or API). More options are available by navigating to *Settings > System > Single Sign-On*:

![Available authentication methods](/files/-MKuAz655QbeO8fCBOAx)

## Local authentication

Users logging in with local authentication use a combination of username and password.

![Local authentication flow](/files/-MKuDG9U6KjAyedKynVX)

## SAML authentication

Users logging in with our SAML SSO integration use an external SAML Identity Provider (IdP) to authenticate users. User attributes, usergroup and account access can be provisioned with user properties from the SAML SSO response.

![SAML authentication flow](/files/-MKuDIUE1znU8Exmazua)

## LDAP authentication

Users logging in with our LDAP SSO integration use an external LDAP server to authenticate users with a combination of username and password. User attributes and usergroup can be provisioned with user properties from the SAML SSO response.

![LDAP authentication flow](/files/-MKuDKprGfkIBYjfq55E)


---

# 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://olddocs.exivity.io/3.5.4/advanced/digging-deeper/authentication-flows.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.
