Skip to content

Add integration test for webhook registration returning 401 when wallet signature is invalid #539

Description

@Chucks1093

Summary

Registering a trade webhook requires wallet signature verification. An integration test should confirm that a request with a missing or invalid signature is rejected with 401 before the webhook record is created.

Scope

  • POST to /creators/:id/webhooks with no signature header and assert 401
  • POST with a signature signed by a different wallet and assert 401
  • Assert no webhook record exists in the database after either failed attempt

Acceptance Criteria

  • Missing signature header returns 401
  • Wrong wallet signature returns 401
  • No webhook record created after failed auth

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions