---
name: "Send OAuth login link via chat when credentials are missing"
---

# Story 448: Send OAuth login link via chat when credentials are missing

## User Story

As a storkit user on Matrix or WhatsApp, I want the bot to send me a clickable OAuth authorize link when credentials are missing or expired, so that I can authenticate without terminal access or manually constructing the URL.

## Acceptance Criteria

- [ ] When storkit detects missing or expired credentials during a chat interaction, it sends the user a clickable /oauth/authorize link
- [ ] Works on Matrix and WhatsApp transports
- [ ] After successful OAuth callback, the user can immediately resume chatting without restarting storkit
- [ ] If credentials are already valid, no login link is sent

## Out of Scope

- TBD
