diff --git a/src/AspNet.Security.OAuth.Shopify/ShopifyAuthenticationHandler.cs b/src/AspNet.Security.OAuth.Shopify/ShopifyAuthenticationHandler.cs index 0f6d8d989..95ff06fc1 100644 --- a/src/AspNet.Security.OAuth.Shopify/ShopifyAuthenticationHandler.cs +++ b/src/AspNet.Security.OAuth.Shopify/ShopifyAuthenticationHandler.cs @@ -183,7 +183,7 @@ protected override async Task ExchangeCodeAsync( return OAuthTokenResponse.Failed(ex); } - string uri = string.Format(Options.TokenEndpoint, CultureInfo.InvariantCulture, shopDns); + string uri = string.Format(CultureInfo.InvariantCulture, Options.TokenEndpoint, shopDns); HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, uri); request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/x-www-form-urlencoded"));