I'm currently working on a project which I need to link the users unique amazon id to the existing user in my database.
I've setup login with amazon and I'm attempting to use Alexa's Account Linking feature to redirect the user to my site where they will log in and link the accounts and then be redirected back to Amazon so that they can then close and access the Alexa app.
I've update the Authorization URI to contain a Redirect_URI which takes them to my site where they create the user_ID link but my issue is redirecting them back to: "https://layla.amazon.com/api/skill/link/XXXX"
This seems to throw an error stating the redirect_uri is invalid, I've added it to my Login with Amazon "Allowed Return URLs" but it's still not working.
What am I doing wrong? How do I tell the Alexa app the user is now authenticated and it can give them access?