Skip to content

Commit

Permalink
Fixed BigCommerce Checkout SSO redirect_to issue (vercel#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanarldt authored Dec 9, 2021
1 parent d65b2ef commit 647b06c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const getCheckout: CheckoutEndpoint['handlers']['getCheckout'] = async ({
store_hash: config.storeHash,
customer_id: customerId,
channel_id: config.storeChannelId,
redirect_to: data.checkout_url,
redirect_to: data.checkout_url.replace(config.storeUrl, ""),
}
let token = jwt.sign(payload, config.storeApiClientSecret!, {
algorithm: 'HS256',
Expand Down

0 comments on commit 647b06c

Please sign in to comment.