Skip to content

feat(line): LINE Messaging API account linking + webhook - #82

Merged
CropWatchDevelopment merged 1 commit into
masterfrom
develop
Jul 29, 2026
Merged

CropWatchDevelopment merged 1 commit into
masterfrom
develop

Conversation

@CropWatchDevelopment

Copy link
Copy Markdown
Owner
  • LineModule: signature-verified webhook (HMAC-SHA256 over raw body, fail-closed like the Stripe webhook), follow/unfollow/accountLink/message event handling implementing LINE's official account-link flow, and authenticated link-start (nonce mint) / unlink endpoints.
  • LineApiClient: stateless channel access tokens (client_credentials with channel ID+secret, cached ~14 min, never persisted), link tokens, push messages, profile lookup.
  • Migrations: 017 nonce table + partial unique index on profiles.line_id; 018 LINE rule action type row (apply AFTER the alert-service deploy).
  • Env: LINE_CHANNEL_ID / LINE_CHANNEL_SECRET (Vercel dashboard).
  • 22 new jest specs; LineController registered in the v1 route contract.

- LineModule: signature-verified webhook (HMAC-SHA256 over raw body,
  fail-closed like the Stripe webhook), follow/unfollow/accountLink/message
  event handling implementing LINE's official account-link flow, and
  authenticated link-start (nonce mint) / unlink endpoints.
- LineApiClient: stateless channel access tokens (client_credentials with
  channel ID+secret, cached ~14 min, never persisted), link tokens, push
  messages, profile lookup.
- Migrations: 017 nonce table + partial unique index on profiles.line_id;
  018 LINE rule action type row (apply AFTER the alert-service deploy).
- Env: LINE_CHANNEL_ID / LINE_CHANNEL_SECRET (Vercel dashboard).
- 22 new jest specs; LineController registered in the v1 route contract.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api Building Building Preview Jul 29, 2026 10:00am

Request Review

@CropWatchDevelopment
CropWatchDevelopment merged commit f2604f0 into master Jul 29, 2026
5 checks passed

This branch was successfully deployed

1 active and 1 inactive deployments
Production 1b5ab46e Deployed Jul 29, 2026 by CropWatchDevelopment via build #19
Preview 1b5ab46e Deployed Jul 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant