Skip to content

VerifyWebhook doesnt work #290

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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