Skip to content

VerifyWebhook doesnt work #290

@wesleycremonini

Description

@wesleycremonini

Version: github.com/GetStream/stream-chat-go/v7 v7.0.0

func WebhookIsValid(r *http.Request) bool {
	body, _ := io.ReadAll(r.Body)
	signature := r.Header.Get("X-Signature")
	return globalClient.VerifyWebhook(body, []byte(signature))
}

This always returns false, am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions