checkout-sdk-js icon indicating copy to clipboard operation
checkout-sdk-js copied to clipboard

CORS support on checkout sdk

Open caglaroptimum7 opened this issue 4 years ago • 1 comments

Hi all,

I used checkout-sdk-js based React example on my bigcommerce store. CORS was previously supported but now it is not supported and I get an error on the console. 'Origin' header invalid: The 'Origin' request header value did not match the allowed origin set in the JWT auth token. Please generate a token that is valid for this origin.

How can we solve this or make a new feature on this repository?

caglaroptimum7 avatar Mar 26 '20 10:03 caglaroptimum7

According to their docs CORS was never supported for the sdk and there is no plan to support it currently:

https://github.com/bigcommerce/checkout-sdk-js/issues/1109

spire-mike avatar Apr 13 '21 02:04 spire-mike

Hi @caglaroptimum7 did you manage to resolve this in the end?

bc-0dp avatar Feb 15 '24 12:02 bc-0dp

Closing this due to inactivity

bc-0dp avatar Feb 27 '24 09:02 bc-0dp