Skip to content

fix(secrets): accept preserved webhook keys - #22

Closed
orga-agent[bot] wants to merge 1 commit into
mainfrom
fix/email-hook-secret-validation
Closed

fix(secrets): accept preserved webhook keys#22
orga-agent[bot] wants to merge 1 commit into
mainfrom
fix/email-hook-secret-validation

Conversation

@orga-agent

@orga-agent orga-agent Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • accept any non-empty valid Standard Webhooks v1,whsec_ payload when adopting an existing email-hook Secret
  • retain the existing 32-byte generation behavior
  • cover preservation of an existing 58-byte payload

This unblocks the FlickNote dev migration without rotating the live email-hook signing secret. GoTrue itself accepts non-32-byte Standard Webhooks payloads; the prior exact-length check was stricter than the consumer contract.

Verification

  • go test ./...
  • git diff --check

@orga-agent

orga-agent Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the cutover decision to rotate a fresh dev email-hook secret and isolate the Cloudflare dev binding. This compatibility relaxation is no longer needed; please close without merging.

@orga-agent
orga-agent Bot deleted the fix/email-hook-secret-validation branch September 5, 2026 03:05
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