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

# Authentication commands

> Log in to Olira from the terminal: olira login, token, status, and logout.

## `olira login`

Log in via browser. Supports **Google** and **email/password with TOTP MFA**.

## `olira token`

Print access token to stdout for piping.

| Flag      | Description                       |
| --------- | --------------------------------- |
| `--quiet` | Suppress expiry warning on stderr |

## `olira status`

Show current login and token expiry.

## `olira logout`

Remove stored credentials and clean up MCP config entries.

For where credentials are stored and how long tokens last, see
[Credentials & exit codes](/cli/credentials).
