New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

better-auth-webhooks

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-auth-webhooks

Webhooks plugin for Better Auth - Send real-time event notifications

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

better-auth-webhooks

Webhooks plugin for Better Auth - Send real-time event notifications to external services

Status

⚠️ Work in Progress - This package is under active development and not yet ready for production use.

Features (Planned)

  • 🔔 Event Subscriptions - Subscribe to auth events (sign-up, sign-in, password reset, etc.)
  • 🎯 Selective Webhooks - Choose specific events to listen to
  • 🔒 Webhook Security - HMAC signatures for webhook verification
  • 🔄 Retry Logic - Automatic retry with exponential backoff
  • 📊 Delivery Status - Track webhook delivery success/failure
  • 🎛️ Event Filtering - Filter events based on custom criteria
  • 🏗️ Webhook Management UI - Admin interface for managing webhooks
  • 📝 Event Logs - Comprehensive webhook event logging

Installation

npm install better-auth-webhooks

Usage (Coming Soon)

import { betterAuth } from "better-auth";
import { webhooks } from "better-auth-webhooks";

const auth = betterAuth({
  plugins: [
    webhooks({
      events: {
        "user.created": true,
        "user.signin": true,
        "user.updated": true,
        "session.created": true,
        "password.reset": true,
      },
      signing: {
        secret: process.env.WEBHOOK_SECRET,
        algorithm: "sha256",
      },
      retry: {
        attempts: 3,
        backoff: "exponential",
      },
      timeout: 5000,
    }),
  ],
});

License

MIT

Keywords

better-auth

FAQs

Package last updated on 20 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts