checkout-sdk-js
checkout-sdk-js copied to clipboard
CORS support on checkout sdk
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?
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
Hi @caglaroptimum7 did you manage to resolve this in the end?
Closing this due to inactivity