> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiveth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Concepts

> The words Aiveth uses: organizations, people, roles, apps, sessions, tokens and environments.

This page explains the vocabulary you meet in the Aiveth console and in these docs.

## Organization

An organization is your space in Aiveth. It holds your people, roles, apps, settings and activity log. Nothing in one organization is visible to another.

Each organization has a short name. People use it to find your organization's own sign-in page, and Aiveth uses it in addresses such as your privacy page.

An organization is on one plan: Free, Pro, Business or Enterprise. Some features need a paid plan. An Owner sees the plan, and can talk to sales about a paid plan, in **Plan & usage**.

## People

People are the accounts in your organization. Someone joins when they accept an invitation, sign up where your organization allows it, join through a [verified domain](https://docs.aiveth.com/sign-in/verified-domains.md), arrive through single sign-on, or are created by user sync ([SCIM](https://docs.aiveth.com/access/scim.md)) or an [import](https://docs.aiveth.com/access/import-users.md).

A person can be active or suspended. A suspended person cannot sign in, and their sessions end.

## Roles and permissions

Every person has one role. A role carries two kinds of permission:

* **Aiveth powers**, which decide what the person can do in the Aiveth console, such as `users:manage` or `apps:manage`.
* **App permissions**, which you define for your own apps, such as `invoices:approve`. Your apps read them from the token.

Aiveth has built-in roles, including Owner. On paid plans you can also make your own roles, app permissions and groups. A group is a set of people; your apps can read group names from the token. See [Roles and permissions](https://docs.aiveth.com/access/roles-and-permissions.md).

## Apps

An app is something that signs your people in with Aiveth. You register it in the console under **Apps**. There are three kinds:

| Kind | What it is | How it proves itself |
| - | - | - |
| **Server app** | A web app with its own server | Client secret and PKCE |
| **Browser or mobile app** | A single-page or phone app that cannot keep a secret | PKCE only |
| **Machine** | A service that signs in as itself, with no person | Client secret, client credentials grant |

Each app has a **Client ID**. An app reaches only the people of the organization that registered it. See [Login with Aiveth](https://docs.aiveth.com/apps/login-with-aiveth.md).

## Sessions

When a person signs in, Aiveth starts a session in their browser. While the session lasts, apps can sign the person in without asking for a password again.

Signing out of Aiveth, a password change, an admin's "sign out everywhere", or a suspension ends the session. Apps that registered for it hear about it through [back-channel logout](https://docs.aiveth.com/apps/logout.md).

## Tokens

Aiveth issues several kinds of token. The most common are:

| Token | Format | What it is for |
| - | - | - |
| **ID token** | JWT, RS256 | Tells your app who signed in. Verify it with Aiveth's published keys. |
| **Access token** | Opaque | Reads `/oauth/userinfo`. It is not a JWT. |
| **Refresh token** | Opaque | Gets new tokens without a new sign-in. Only when the app asks for `offline_access`. |
| **Machine token** | JWT, RS256 | Lets a machine app call your organization's own services. |

See [Tokens and claims](https://docs.aiveth.com/apps/tokens-and-claims.md).

## API keys

An API key lets your own server call Aiveth's admin API and events API. A key belongs to the organization, not to the person who made it, and has only the powers you give it. See [Authentication](https://docs.aiveth.com/api-reference/authentication.md).

## Environments

Every organization is a **Production** environment. An Owner can turn on one **Development** environment: a separate organization for testing, with its own test users, apps and keys. See [Environments](https://docs.aiveth.com/environments.md).

## Activity log

Every sign-in and every change is recorded in the organization's activity log. Admins with the `audit:read` power read it under **Activity log**. See [Activity log and reports](https://docs.aiveth.com/privacy/activity-log-and-reports.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.