diff --git a/providers/shopify/session.go b/providers/shopify/session.go index 8a4b0c6ee..ba9e7e95a 100755 --- a/providers/shopify/session.go +++ b/providers/shopify/session.go @@ -43,8 +43,9 @@ func (s *Session) Authorize(provider goth.Provider, params goth.Params) (string, // Validate the incoming HMAC is valid. // See: https://help.shopify.com/en/api/getting-started/authentication/oauth#verification digest := fmt.Sprintf( - "code=%s&shop=%s&state=%s×tamp=%s", + "code=%s&host=%s&shop=%s&state=%s×tamp=%s", params.Get("code"), + params.Get("host"), params.Get("shop"), params.Get("state"), params.Get("timestamp"),