cloudinary-community / cloudinary-community/cloudinary-examples

Netlify Function - Cloudinary Custom Remote Function: Signature verification

Open
#27 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
97
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hey
Thanks for these examples, they are incredibly helpful.
I'm building a custom remote function, and it works perfectly, but in my case, I would like to verify "x-cld-signature" to ensure that the request is coming from Cloudinary.
Did you ever try it? According to Cloudinary documentation, it should be a SHA-1 Hex-Digest of body + timestamp + API secret, but in my case, as a signature, I'm receiving 128 characters long string. I can't even imagine how to make SHA1 Hex 128 characters long :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.