# AuthConfig

**Kind:** Interface

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/types/stage-12.types.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/types/stage-12.types.ts#L218)

Authentication configuration

Selectors are optional - if not provided and useSmartDetection is true,
the screenshot-worker will use AI to auto-detect form selectors.

## Properties

| Property | Type |
|---|---|
| `loginUrl` | `string` |
| `username` | `string` |
| `password` | `string` |
| `usernameSelector` | `string` |
| `passwordSelector` | `string` |
| `submitSelector` | `string` |
| `successIndicator` | `string` |
| `useSmartDetection` | `boolean` |
