Skip to content

Add signature validation into the SDK #565

@soranoo

Description

@soranoo

Is your feature request related to a problem? Please describe.
Currently, to verify an outpost request, a manual implementation of the validation helper method is needed. (I didn't find a related method in the SDK codebase so far.) Which may lead to validation outdated or incorrect manual implementation.

Describe the solution you'd like
Add a signature validation help method into the SDK

Describe alternatives you've considered
\

Additional context

I am facing a problem that the request sign is always different from the sign created in my server (my validation method is based on the https://github.com/hookdeck/outpost/blob/main/examples/demos/nodejs/src/verify-signature.ts demo). I have no idea why the result is different while they are sharing the same AES key (they used to the same). If an official helper method is available, maybe I will be able to debug it more efficiently.

Thank you for your considerations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions