# OAuth Flow

Aurinko provides a Unified OAuth Flow that is backed by providers' OAuth2 (i.e. Google, Office 365, Zoho Mail, Salesforce, HubSpot, SugarCRM) or by secure password-based authentication (i.e. MS Exchange, IMAP accounts).

There OAuth flows are available:

1. [Account](/authentication/oauth-flow/account-oauth-flow.md) - User delegated authorization that produces an Aurinko account and an access token.
2. [Service Account](/authentication/service-accounts.md) - Admin/Org-level authorization that produces an Aurinko service account and an access token.
3. [User Session](/authentication/oauth-flow/user-oauth-flow.md) - User delegated authorization that produces an Aurinko User, its primary account, and a user session token or cookie.


---

# 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://docs.aurinko.io/authentication/oauth-flow.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.
