github Notifuse/notifuse v22.2

latest releases: v29.2, latest, v29.1...
3 months ago

Release Notes v22.2

Programmatic Root Authentication

New /api/user.rootSignin endpoint enables automated authentication for CI/CD pipelines, Infrastructure-as-Code deployments, and automated testing.

Docs: https://docs.notifuse.com/installation#programmatic-authentication

Usage

SECRET_KEY="your-secret-key"
ROOT_EMAIL="admin@example.com"
TIMESTAMP=$(date +%s)

MESSAGE="${ROOT_EMAIL}:${TIMESTAMP}"
SIGNATURE=$(echo -n "$MESSAGE" | openssl dgst -sha256 -hmac "$SECRET_KEY" | awk '{print $2}')

curl -X POST https://your-instance.com/api/user.rootSignin \
  -H "Content-Type: application/json" \
  -d "{\"email\":\"${ROOT_EMAIL}\",\"timestamp\":${TIMESTAMP},\"signature\":\"${SIGNATURE}\"}"

Security

  • HMAC-SHA256 signature using existing SECRET_KEY
  • 60-second timestamp window prevents replay attacks
  • Rate limited: 5 attempts per 5 minutes
  • Only works for configured ROOT_EMAIL

Don't miss a new notifuse release

NewReleases is sending notifications on new releases.