The domain on which you are using the JavaScript SDK has not been whitelisted for your application


#1

Hello,

We are trying to build LWA button to integrate with Selling Partner API.
But we are facing a problem with 400 response code while doing LWA:

The domain on which you are using the JavaScript SDK has not been whitelisted for your application. Please add your website domain in the ‘Allowed JavaScript Origins’ section under ‘Web Settings’ on the Amazon Seller Central App Console for Login with Amazon.

The question is how we can proceed with whitelisting and adding our domain to origins.
Out assumption is that mechanism for providing origins should be similar to the one described here:
https://developer.amazon.com/docs/amazon-pay-onetime/javascript-origins-and-allowed-urls.html
But application under the SP does not have any attribute to proceed with that update.

Can you help us with that?

Thank you.