action_add_redis
Add Redis to an endpoint, exposing it as ctx.REDIS and ctx.REDIS_PREFIX, and wire required authenticated endpoints atomically for consistent session storage.
Instructions
Add Redis to one endpoint as ctx.REDIS and ctx.REDIS_PREFIX. For authenticated pages, every login/registration, me/session, protected-resource, and logout endpoint must be wired; use auth_setup to configure the complete set atomically. Authentication uses opaque random tokens stored server-side in prefix-safe Redis keys with a bounded TTL, never JWT or an application signing secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | The action endpoint. Use 'name' or 'package/name'. Each segment must start with a letter and contain only letters, numbers, and hyphens; underscores and spaces are invalid (example: 'v1/employees-photo'). |