After following the implementation steps from "
https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/docs/reference-implementation-guide#Obtaining the Sample App Code and Dependencies" In section "Using the Node.js Companion Service to Obtain Authorization from Login with Amazon" when i ping this url: https://localhost:3000/provision/d340f629bd685deeff28a917 which appears on my java client app, I get a response as : "We're sorry! An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly. Error Summary 400 Bad Request The redirect URI you provided has not been whitelisted for your application. Please add your redirect URI in the 'Allowed Return URLs' section under 'Web Settings' for your Security Profile on Amazon Developer Portal." Kindly help me how can i proceed further. Thanks
It looks like either the Allowed Origins or Allowed Return URLs in your Security Profile do not exactly match what is expected. By default these are expected to be: Allowed Origins: https://localhost:3000 Allowed Return URLs: https://localhost:3000/authresponse It is recommended you use these values, as they are hard coded in the sample code in several places. If you wanted to change them, then they would have to be updated across the sample app code as well as the Security Profile. If you need to update your Security Profile, the directions are under Registering Your Product and Creating a Security Profile (
https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/docs/reference-implementation-guide#Registering%20Your%20Product%20and%20Creating%20a%20Security%20Profile). You probably have already created your device, but you can edit it from the AVS developer console and start at point 5.