# plugin-auth

`@fayz-ai/plugin-auth` · preview · Visual surface

Reusable auth runtime and UI for Fayz apps.

## Specs

- **Package:** `@fayz-ai/plugin-auth`
- **Version:** 0.1.3
- **Status:** preview
- **Capability:** Visual surface
- **Product type:** Platform
- **Stable channel:** `^0.1.3`
- **Migrations:** none

## Data model

No tables of its own — this plugin uses the core / archetype library (same rule: tenant_id + RLS)..

## AI tools

This plugin declares no AI tools.

## Integrations

No hosted connector — external providers come in via the connector spine (`@fayz-ai/core`).

## Integrate

Add the plugin to surfaces.admin.plugins in your app's app.manifest.json and run the doctor to validate:

```json
{ "surfaces": { "admin": { "plugins": [ { "id": "auth", "enabled": true } ] } } }
```

```bash
npx fayz doctor
```
