You need to white list your domain in seller central. Log in, select Login with Amazon from the drop down at the top of the page. Once there, populate your domain in the "Allowed JavaScript Origins section. Also add itthe return URL you specified to allowed return URLs.